docs: update precommit hook
Summary: Test Plan:
This commit is contained in:
@@ -11,7 +11,7 @@ pre-commit hook for Sapling (`.sl/config`):
|
||||
|
||||
```
|
||||
[hooks]
|
||||
precommit = echo $HG_PARENT1 && bun prettier $(sl show -T "{file_adds} {file_mods}\n\n" $HG_PARENT1 --stat | head -n 1) --write
|
||||
precommit = echo $HG_PARENT1 && bun prettier $(sl show -T "{file_adds} {file_mods}\n\n" $HG_PARENT1 --stat | head -n 1) --write --no-error-on-unmatched-pattern
|
||||
```
|
||||
|
||||
## Development
|
||||
|
||||
Reference in New Issue
Block a user