Skip to content

Commit

Permalink
Merge 319897b into f23df06
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondfeng committed Dec 14, 2018
2 parents f23df06 + 319897b commit 7eab229
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/build/src/fail-on-console-logs.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ function recordForbiddenCall(methodName) {
};
}

process.on('warning', warning => {
// Ignore node.js warnings
});

process.on('exit', code => {
if (!problems.length) return;
const log = originalConsole.log;
Expand Down

0 comments on commit 7eab229

Please sign in to comment.