diff options
author | Alexander Neben <alexander.neben@mongodb.com> | 2022-11-16 22:09:22 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-11-21 18:29:43 +0000 |
commit | 7e202c0d3366eaae5f2bf3266d39dc790dcbdff6 (patch) | |
tree | f6ac95435ead9ca18d0125c1a6190b35e1c0c266 | |
parent | df0069fbb15c2f56f17e969aedb3ef057100f8c3 (diff) | |
download | mongo-7e202c0d3366eaae5f2bf3266d39dc790dcbdff6.tar.gz |
SERVER-71424 Excluded third_party js files from linting
(cherry picked from commit be0adb109bfac64bc1177b7f43eb3a4accb6d3e9)
-rw-r--r-- | evergreen/lint_fuzzer_sanity_all.sh | 3 |
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 -- |