summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Neben <alexander.neben@mongodb.com>2022-11-16 22:09:22 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-11-21 16:44:22 +0000
commit4f8c870d1ea7b76997e6587f7facc0ae9065464b (patch)
treef62f9638c8a48db46a2277e1521b771beb7f9fa5
parentabcdf5a80b7239938e22fb9a464a58b6c30ef42c (diff)
downloadmongo-4f8c870d1ea7b76997e6587f7facc0ae9065464b.tar.gz
SERVER-71424 Excluded third_party js files from linting
(cherry picked from commit be0adb109bfac64bc1177b7f43eb3a4accb6d3e9)
-rw-r--r--evergreen/lint_fuzzer_sanity_all.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/evergreen/lint_fuzzer_sanity_all.sh b/evergreen/lint_fuzzer_sanity_all.sh
index 97272296cc3..f8a4094e3a3 100644
--- a/evergreen/lint_fuzzer_sanity_all.sh
+++ b/evergreen/lint_fuzzer_sanity_all.sh
@@ -9,7 +9,8 @@ set -o verbose
add_nodejs_to_path
# Run parse-jsfiles on 50 files at a time with 32 processes in parallel.
-find "$PWD/jstests" "$PWD/src/mongo/db/modules/enterprise" -name "*.js" -print | xargs -P 32 -L 50 npm run --prefix jstestfuzz parse-jsfiles -- | tee lint_fuzzer_sanity.log
+# Skip javascript files in third_party directory
+find "$PWD/jstests" "$PWD/src/mongo/db/modules/enterprise" -path "$PWD/jstests/third_party" -prune -o -name "*.js" -print | xargs -P 32 -L 50 npm run --prefix jstestfuzz parse-jsfiles -- | tee lint_fuzzer_sanity.log
exit_code=$?
activate_venv