Skip to content

Commit

Permalink
Ignore node_modules when printing warnings (#20363)
Browse files Browse the repository at this point in the history
This now finds acorn and fails to extract warnings from it. But also, this
seems slow.
  • Loading branch information
sebmarkbage authored Dec 1, 2020
1 parent a2a0255 commit ad6f3d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/print-warnings/print-warnings.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ gs([
'!packages/react-devtools*/**/*.js',
'!**/__tests__/**/*.js',
'!**/__mocks__/**/*.js',
'!**/node_modules/**/*.js',
]).pipe(
through.obj(transform, cb => {
process.stdout.write(
Expand Down

0 comments on commit ad6f3d5

Please sign in to comment.