Commit 9918310
Just: refuse a path that is not there rather than formatting nothing
Naming a file is an assertion that it exists, and a typo in one was answered
with the silence that means everything already matched, exit 0 included, under a
banner claiming the formatter had run on it. Only the named path is checked: a
directory holding nothing to format is a fair answer, and so is a glob whose
expansion this formatter does not claim.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>1 parent 9b67e8f commit 9918310
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
160 | 162 | | |
161 | 163 | | |
162 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
163 | 168 | | |
164 | 169 | | |
165 | 170 | | |
| |||
0 commit comments