-
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I had this in my package.json:
"format": "prettier --ignore-path .gitignore \"(src|mailers)/**/*.+(ts|js|tsx|md)\" --write",
When I use it with the experimental cli…
"format": "prettier --experimental-cli --write --ignore-path .gitignore \"(src|mailers)/**/*.+(ts|js|tsx|md)\" --write",
… I get this error:
% npm run format
[reponame@0.2.0](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-sandbox/workbench/workbench.html) format
prettier --experimental-cli --write --ignore-path .gitignore "(src|mailers)/**/*.+(ts|js|tsx|md)"
[error] No files matching the given patterns were found.
When I change the code to …
"format": "prettier --experimental-cli --write --ignore-path .gitignore \"src/**/*.{ts,js,tsx,md}\" \"mailers/**/*.{ts,js,tsx,md}\"",
… it works fine again.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels