Skip to content

Commit

Permalink
build: fix coverage command
Browse files Browse the repository at this point in the history
  • Loading branch information
ruicsh committed Dec 8, 2023
1 parent 4173f2c commit 968ba63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sh/coverage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ async function main() {
await $`rm -rf .nyc_output/`;

const flags = ["--coverage true"];
await $`NODE_ENV=test LOG_LEVEL=silent nyc npm run test:ci ${flags}`;
await $`NODE_ENV=test LOG_LEVEL=silent nyc npm run test:ci -- ${flags}`;
}

main();

0 comments on commit 968ba63

Please sign in to comment.