fix recursive in script (#3565)

See more here : https://github.com/prettier/prettier/issues/2078.
master
Jiawen Geng 2017-12-25 17:16:50 +08:00 committed by Lucas Azzola
parent c40b061b80
commit ea4bc9093e
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ and add this config to your `package.json`:
```json
{
"scripts": {
"prettier": "prettier */**/*.js --ignore-path ./.prettierignore --write && git add . && git status"
"prettier": "prettier \"*/**/*.js\" --ignore-path ./.prettierignore --write && git add . && git status"
},
"pre-commit": [
"prettier"