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 @@ -2777,7 +2777,7 @@ lib.escapeShellArgs (lib.concatMap (ext: [ "--ghc-opt" "-X${ext}" ]) hooks.ormol
2777
2777
name = "opentofu-format" ;
2778
2778
description = "Format OpenTofu (`.tf`) files." ;
2779
2779
package = tools . opentofu ;
2780
- entry = "${ hooks . opentofu-format . package } /bin/tofu fmt -- check" ;
2780
+ entry = "${ hooks . opentofu-format . package } /bin/tofu fmt -check -diff " ;
2781
2781
files = "\\ .tf$" ;
2782
2782
} ;
2783
2783
ormolu =
@@ -3235,7 +3235,7 @@ lib.escapeShellArgs (lib.concatMap (ext: [ "--ghc-opt" "-X${ext}" ]) hooks.ormol
3235
3235
name = "terraform-format" ;
3236
3236
description = "Format Terraform (`.tf`) files." ;
3237
3237
package = tools . terraform ;
3238
- entry = "${ hooks . terraform-format . package } /bin/terraform fmt -- check" ;
3238
+ entry = "${ hooks . terraform-format . package } /bin/terraform fmt -check -diff " ;
3239
3239
files = "\\ .tf$" ;
3240
3240
} ;
3241
3241
tflint =
You can’t perform that action at this time.
0 commit comments