From eda71c6e0d9ee949afe6c4fd470ed9f022f05485 Mon Sep 17 00:00:00 2001 From: AVVS Date: Fri, 30 Mar 2018 23:05:35 -0700 Subject: [PATCH] fix: avoid exposing codecov token --- bin/cmds/test_cmds/run.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/cmds/test_cmds/run.js b/bin/cmds/test_cmds/run.js index e94e842..26bb8a4 100644 --- a/bin/cmds/test_cmds/run.js +++ b/bin/cmds/test_cmds/run.js @@ -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'); } };