summaryrefslogtreecommitdiff
path: root/evergreen
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-17 20:00:59 +0000
commitbe0adb109bfac64bc1177b7f43eb3a4accb6d3e9 (patch)
tree5d2a7fab65927b13e793a990e1da4260428f9587 /evergreen
parentfe25f3fb127d1adf57b1e0335db336eebfa9df2d (diff)
downloadmongo-be0adb109bfac64bc1177b7f43eb3a4accb6d3e9.tar.gz
SERVER-71424 Excluded third_party js files from linting
Diffstat (limited to 'evergreen')
-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