Skip to content

Commit

Permalink
Do not forward stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
vjeux authored and acusti committed Mar 15, 2017
1 parent d0fcceb commit f78c7aa
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/facts-tracker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ function escape(value) {
var cwd = null;
function exec(command) {
console.error('>', command.replace(process.env.GITHUB_TOKEN, '************'));
return execSync(command, cwd ? {cwd: cwd} : undefined).toString();
var options = {
stdio: [null, null, null],
};
if (cwd) {
options.cwd = cwd;
}
return execSync(command, options).toString();
}

var isInsideOfTravis = !!process.env.TRAVIS_REPO_SLUG;
Expand Down

0 comments on commit f78c7aa

Please sign in to comment.