diff --git a/scripts/gulpfiles/build_tasks.js b/scripts/gulpfiles/build_tasks.js index ac037ff0385..4ed0d6232ec 100644 --- a/scripts/gulpfiles/build_tasks.js +++ b/scripts/gulpfiles/build_tasks.js @@ -343,18 +343,14 @@ function buildDeps(done) { const args = roots.map(root => `--root '${root}' `).join(''); execSync( - `set -o pipefail; \ - (closure-make-deps ${args} >'${DEPS_FILE}') 2>&1 \ - | (grep -v '^WARNING in' ; true)`, + `closure-make-deps ${args} 2>/dev/null >'${DEPS_FILE}'`, {stdio: 'inherit'}); // Use grep to filter out the entries that are already in deps.js. const testArgs = testRoots.map(root => `--root '${root}' `).join(''); execSync( - `set -o pipefail; \ - (closure-make-deps ${testArgs} | grep 'tests/mocha' \ - > '${TEST_DEPS_FILE}') 2>&1 \ - | (grep -v '^WARNING in' ; true)`, + `closure-make-deps ${testArgs} 2>/dev/null \ + | grep 'tests/mocha' > '${TEST_DEPS_FILE}'`, {stdio: 'inherit'}); done(); }