prettier scripts incorrectly set --ignore-path

--ignore-path is meant to be the path of an ignore-file, not the actual directories to ignore.
This commit is contained in:
Cina Saffary 2023-08-29 18:27:03 -05:00
parent 2962e94ac8
commit 71199d2757
2 changed files with 3 additions and 3 deletions

View file

@ -13,4 +13,4 @@ jobs:
- uses: actions/add-to-project@v0.5.0
with:
project-url: https://github.com/orgs/cloudflare/projects/1
github-token: ${{ secrets.GH_ACCESS_TOKEN }}
github-token: ${{ secrets.GH_ACCESS_TOKEN }}

View file

@ -25,8 +25,8 @@
"scripts": {
"build": "npx ncc build ./src/index.ts && mv ./dist/index.js ./dist/index.mjs",
"test": "vitest",
"format": "prettier --write . --ignore-path ./dist/**",
"check": "prettier --check . --ignore-path ./dist/**"
"format": "prettier --write .",
"check": "prettier --check ."
},
"dependencies": {
"@actions/core": "^1.10.0"