mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 17:41:40 -05:00
Whitelist doesn't seem to do anything
This commit is contained in:
parent
095ce771ea
commit
4981a3618e
1 changed files with 1 additions and 3 deletions
|
@ -1,9 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
filetypes="*.js *.jsx *.ts"
|
|
||||||
|
|
||||||
# Run prettier on the diffs
|
# Run prettier on the diffs
|
||||||
$(npm bin)/precise-commits $filetypes
|
$(npm bin)/precise-commits
|
||||||
# Re-add the modified files
|
# Re-add the modified files
|
||||||
files=$(git diff --cached --name-only --diff-filter=ACM $filetypes)
|
files=$(git diff --cached --name-only --diff-filter=ACM $filetypes)
|
||||||
if [ "" != "$files" ]; then
|
if [ "" != "$files" ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue