File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2732,7 +2732,7 @@ lib.escapeShellArgs (lib.concatMap (ext: [ "--ghc-opt" "-X${ext}" ]) hooks.ormol
2732
2732
name = "opentofu-format" ;
2733
2733
description = "Format OpenTofu (`.tf`) files." ;
2734
2734
package = tools . opentofu ;
2735
- entry = "${ hooks . opentofu-format . package } /bin/tofu fmt -- check" ;
2735
+ entry = "${ hooks . opentofu-format . package } /bin/tofu fmt -check -diff " ;
2736
2736
files = "\\ .tf$" ;
2737
2737
} ;
2738
2738
ormolu =
@@ -3190,7 +3190,7 @@ lib.escapeShellArgs (lib.concatMap (ext: [ "--ghc-opt" "-X${ext}" ]) hooks.ormol
3190
3190
name = "terraform-format" ;
3191
3191
description = "Format Terraform (`.tf`) files." ;
3192
3192
package = tools . terraform ;
3193
- entry = "${ hooks . terraform-format . package } /bin/terraform fmt -- check" ;
3193
+ entry = "${ hooks . terraform-format . package } /bin/terraform fmt -check -diff " ;
3194
3194
files = "\\ .tf$" ;
3195
3195
} ;
3196
3196
tflint =
You can’t perform that action at this time.
0 commit comments