Skip to content

Commit

Permalink
chore: fix test coverage parsing bug
Browse files Browse the repository at this point in the history
For some reason it seems like `nyc` v14 is incompatible with node
v16/v18/v20. See this CI run as an example:
https://github.com/shelljs/shelljs/actions/runs/5956710281/job/16287478757?pr=1129

This updates `nyc` to v15 which should fix the issue.

Fixes #1130
Test: nvm use v16.20.2
Test: npm run test-with-coverage
  • Loading branch information
nfischer committed Aug 28, 2023
1 parent f7a7c75 commit 280791d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -66,7 +66,7 @@
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.17.3",
"js-yaml": "^3.14.1",
"nyc": "^14.1.1",
"nyc": "^15.1.0",
"shelljs-changelog": "^0.2.6",
"shelljs-release": "^0.5.2",
"shx": "^0.3.4",
Expand Down

0 comments on commit 280791d

Please sign in to comment.