Ignore node_modules when printing warnings (#20363)
This now finds acorn and fails to extract warnings from it. But also, this seems slow.
Sebastian Markbåge committed
Dec 1, 2020 at 11:01 UTC
ad6f3d5c55a79e8a44798aad36118e73de3a64f8
1 file changed
+1
scripts/print-warnings/print-warnings.js
+1
@@ -90,6 +90,7 @@ gs([
90
'!packages/react-devtools*/**/*.js',
91
'!**/__tests__/**/*.js',
92
'!**/__mocks__/**/*.js',
93
+ '!**/node_modules/**/*.js',
94
]).pipe(
95
through.obj(transform, cb => {
96
process.stdout.write(