Commit 007c147
committed
ci(pre-commit): show diff on failure
Mainly for shfmt, which writes its changes in place. shfmt has the `-d`
option which would output the diff for us, but showing the diff on
pre-commit level is preferable in CI in the first place. And the diff
emitted by it has colors, unlike the shfmt one.1 parent 9e0778b commit 007c147
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
0 commit comments