Use double quotes in script wildcards to support windows `cmd.exe`. (#761)
parent
5cc21c5498
commit
278b489f38
|
@ -119,7 +119,7 @@ prettier [opts] [filename ...]
|
|||
|
||||
For easier cross-platform usage, prettier has built-in glob support:
|
||||
```bash
|
||||
prettier --write 'src/**/*.js' 'bin/*.js'
|
||||
prettier --write "src/**/*.js" "bin/*.js"
|
||||
```
|
||||
|
||||
In the future we will have better support for formatting whole projects.
|
||||
|
|
Loading…
Reference in New Issue