Commit a446cb8
authored
refactor: move -i into entry
When looking at prettier-mirror, I noticed that the entry field had the non-changeable options in it as well, like `--write`. Clang-format's equivalent of write is `-i`, and the hook would not do anything interesting without it, so maybe it should be set that way in this one too? One downside is that clang-format explicitly checks, so this will provide an error if anyone is already overriding args and including `-i`:
```
clang-format: for the -i option: may only occur zero or one times!
```1 parent 9421ac5 commit a446cb8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments