Commit e9250bd
authored
Update terraform-fmt to match terraform-validate (#46)
This PR updates the `terraform-fmt` hook as follows:
1. Run with `-diff -check` so the differences are printed, rather than made on disk.
1. Instead of exiting on the first error, save the exit codes, and print out all `fmt` errors before exiting.
These changes are very similar to #45.1 parent 39887f3 commit e9250bd
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | | - | |
12 | | - | |
13 | | - | |
| 14 | + | |
14 | 15 | | |
| 16 | + | |
| 17 | + | |
0 commit comments