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-23 00:54:44 +0000
commit537f7312d302b10e72651ead19146cc5d7dc6d70 (patch)
tree4892d04015efcd0805a5abad390578d39fa3dcbc
parenta5d69928f116c7cfe1f9441f0bc0c13a82ae2442 (diff)
downloadmongo-537f7312d302b10e72651ead19146cc5d7dc6d70.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 16ae53b923c..91479f64964 100644
--- a/evergreen/lint_fuzzer_sanity_all.sh
+++ b/evergreen/lint_fuzzer_sanity_all.sh
@@ -9,4 +9,5 @@ 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 --
+# 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 --