Skip to content

Commit ad6f3d5

Browse files
authored
Ignore node_modules when printing warnings (#20363)
This now finds acorn and fails to extract warnings from it. But also, this seems slow.
1 parent a2a0255 commit ad6f3d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/print-warnings/print-warnings.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ gs([
9090
'!packages/react-devtools*/**/*.js',
9191
'!**/__tests__/**/*.js',
9292
'!**/__mocks__/**/*.js',
93+
'!**/node_modules/**/*.js',
9394
]).pipe(
9495
through.obj(transform, cb => {
9596
process.stdout.write(

0 commit comments

Comments
 (0)