Skip to content

Commit 34fe5b0

Browse files
committed
Fix scripts using -- (pnpm interprets this as file name)
1 parent 6610b6a commit 34fe5b0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/coveralls.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
run: pnpm install --ignore-scripts
3636

3737
- name: Test
38-
run: pnpm run test -- --coverage
38+
run: pnpm run test --coverage
3939

4040
- name: Coveralls GitHub Action
4141
uses: coverallsapp/github-action@1.1.3

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"pretty:check": "prettier --check .",
6060
"fix": "pnpm run pretty && eslint --fix .",
6161
"test": "pnpm run grammar && jest",
62-
"test:watch": "pnpm run test -- --watch",
62+
"test:watch": "pnpm run test --watch",
6363
"test:perf": "pnpm run grammar && jest --testMatch '<rootDir>/test/perftest.ts' --coverage=false",
6464
"check": "pnpm run ts:check && pnpm run pretty:check && pnpm run lint && pnpm run test",
6565
"prepare": "pnpm run clean && pnpm run grammar && pnpm run fix && pnpm run check && pnpm run build",

0 commit comments

Comments
 (0)