Commit 57f05d1
fix(format): return exit code 0 when formatting files
Format command should always return success exit code (0) when it
completes successfully, regardless of whether files needed formatting.
Only show "no issues found" message when no formatting was required.
Fixes regression introduced in 0d1f602 where format operations would
return exit code 1 when files needed formatting.1 parent 6a10f00 commit 57f05d1
2 files changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
| 60 | + | |
63 | 61 | | |
64 | | - | |
65 | 62 | | |
| 63 | + | |
66 | 64 | | |
0 commit comments