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 16:50:12 +0000 |
commit | 5d225b2426eb2a71b4c795659b4aeceee26fb6c3 (patch) | |
tree | edbe62808af56f5a399a3ca6727b9a203100efec /evergreen | |
parent | b3268a6f0b1479366ccd41418267db1b556c0e86 (diff) | |
download | mongo-5d225b2426eb2a71b4c795659b4aeceee26fb6c3.tar.gz |
SERVER-71424 Excluded third_party js files from linting
(cherry picked from commit be0adb109bfac64bc1177b7f43eb3a4accb6d3e9)
Diffstat (limited to 'evergreen')
-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 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 |