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-17 20:00:59 +0000 |
commit | be0adb109bfac64bc1177b7f43eb3a4accb6d3e9 (patch) | |
tree | 5d2a7fab65927b13e793a990e1da4260428f9587 /evergreen | |
parent | fe25f3fb127d1adf57b1e0335db336eebfa9df2d (diff) | |
download | mongo-be0adb109bfac64bc1177b7f43eb3a4accb6d3e9.tar.gz |
SERVER-71424 Excluded third_party js files from linting
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 |