Skip to content

Commit

Permalink
Make sure coverage/ dir is done before running nyc
Browse files Browse the repository at this point in the history
  • Loading branch information
SBoudrias committed Jul 14, 2022
1 parent fd1678c commit d13a0d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/inquirer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"scripts": {
"test": "nyc mocha --es-module-specifier-resolution=node test/**/* -r ./test/before",
"posttest": "nyc report --reporter=text-lcov > ../../coverage/nyc-report.lcov",
"posttest": "mkdir -p ../../coverage/ && nyc report --reporter=text-lcov > ../../coverage/nyc-report.lcov",
"prepublishOnly": "cp ../../README.md .",
"postpublish": "rm -f README.md"
},
Expand Down

0 comments on commit d13a0d2

Please sign in to comment.