Update website/versioned_docs/version-stable/
parent
5ce16eaa02
commit
8d0ac8bb58
|
@ -91,7 +91,7 @@ Alternately you can save this script as `.git/hooks/pre-commit` and give it exec
|
|||
|
||||
```bash
|
||||
#!/bin/sh
|
||||
FILES=$(git diff --cached --name-only --diff-filter=ACM "*.js" "*.jsx" | sed 's| |\\ |g')
|
||||
FILES=$(git diff --cached --name-only --diff-filter=ACMR "*.js" "*.jsx" | sed 's| |\\ |g')
|
||||
[ -z "$FILES" ] && exit 0
|
||||
|
||||
# Prettify all selected files
|
||||
|
|
Loading…
Reference in New Issue