Skip to content

Commit

Permalink
Ignore node_modules when printing warnings (facebook#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 and koto committed Jun 15, 2021
1 parent e607ddf commit a0aa4fa
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 a0aa4fa

Please sign in to comment.