From ad6f3d5c55a79e8a44798aad36118e73de3a64f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Markb=C3=A5ge?= Date: Tue, 1 Dec 2020 11:01:16 -0500 Subject: [PATCH] Ignore node_modules when printing warnings (#20363) This now finds acorn and fails to extract warnings from it. But also, this seems slow. --- scripts/print-warnings/print-warnings.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/print-warnings/print-warnings.js b/scripts/print-warnings/print-warnings.js index 163aacf00ac4f..9bdd6543d2a3d 100644 --- a/scripts/print-warnings/print-warnings.js +++ b/scripts/print-warnings/print-warnings.js @@ -90,6 +90,7 @@ gs([ '!packages/react-devtools*/**/*.js', '!**/__tests__/**/*.js', '!**/__mocks__/**/*.js', + '!**/node_modules/**/*.js', ]).pipe( through.obj(transform, cb => { process.stdout.write(