Skip to content

Commit

Permalink
test: fix posttest script on Windows
Browse files Browse the repository at this point in the history
Use double quotes in cmd argument.
Resolve deprecation warning for `--production`.
  • Loading branch information
targos committed Dec 29, 2024
1 parent cf4ee88 commit dc213c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"tests-only": "tape test/*.js",
"pretest": "npm run lint",
"test": "npm run --silent tests-only",
"posttest": "npm run test:multirepo && npx npm@'>= 10.2' audit --production",
"posttest": "npm run test:multirepo && npx \"npm@>=10.2\" audit --omit=dev",
"test:multirepo": "cd ./test/resolver/multirepo && npm install && npm test"
},
"license": "MIT",
Expand Down

0 comments on commit dc213c3

Please sign in to comment.