Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

Commit

Permalink
fix: ignore codecov.io reporting failure (#148)
Browse files Browse the repository at this point in the history
Because of codecov/codecov-node#284 codecov
reporting is sometimes failing. With the new default node v15 option
of '--unhandled-rejections=strict', this results in the occasional
non-zero exit status, which breaks our node v15 builds. This changes to
ignore that exit status.
  • Loading branch information
trentm committed Apr 5, 2021
1 parent 157d8ce commit 20f5fcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -11,7 +11,7 @@
],
"// scripts.test": "quoting arg to tape to avoid too long argv, let tape do globbing",
"scripts": {
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && (codecov || echo 'warning: ignoring codecov failure')",
"test": "standard && nyc tape \"test/*.js\""
},
"engines": {
Expand Down

0 comments on commit 20f5fcd

Please sign in to comment.