Skip to content

Commit

Permalink
fix: avoid exposing codecov token
Browse files Browse the repository at this point in the history
  • Loading branch information
AVVS committed Mar 31, 2018
1 parent a37570d commit eda71c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/cmds/test_cmds/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ exports.handler = async (argv) => {
// upload codecoverage report
if (argv.coverage) {
echo('uploading coverage');
exec('./node_modules/.bin/codecov');
// this is to avoid exposing token
exec('./node_modules/.bin/codecov > /dev/null &2>1');
}
};

0 comments on commit eda71c6

Please sign in to comment.