diff options
author | Trevor Guidry <trevor.guidry@mongodb.com> | 2023-05-11 17:25:04 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-05-11 20:25:49 +0000 |
commit | a732d6f8067c089e27a293a01e47e1526709626d (patch) | |
tree | 9943f3ea5cd6f33d6d69dab969347d58184b79d0 | |
parent | f59655be727acb3c33b4183d2d70ceebb96fede2 (diff) | |
download | mongo-a732d6f8067c089e27a293a01e47e1526709626d.tar.gz |
SERVER-77023 make lint_fuzzer_sanity_patch work on enterprise module
-rw-r--r-- | evergreen/lint_fuzzer_sanity_patch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/evergreen/lint_fuzzer_sanity_patch.py b/evergreen/lint_fuzzer_sanity_patch.py index 7c6ebd589f7..3047ec0eb99 100644 --- a/evergreen/lint_fuzzer_sanity_patch.py +++ b/evergreen/lint_fuzzer_sanity_patch.py @@ -21,7 +21,7 @@ from buildscripts import simple_report def is_js_file(filename: str) -> bool: # return True - return filename.startswith("jstests") and filename.endswith(".js") + return (filename.startswith("jstests") or filename.startswith("src/mongo/db/modules/enterprise/jstests")) and filename.endswith(".js") diffed_files = [Path(f) for f in gather_changed_files_for_lint(is_js_file)] |