summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrevor Guidry <trevor.guidry@mongodb.com>2023-05-11 17:25:04 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-05-11 20:25:49 +0000
commita732d6f8067c089e27a293a01e47e1526709626d (patch)
tree9943f3ea5cd6f33d6d69dab969347d58184b79d0
parentf59655be727acb3c33b4183d2d70ceebb96fede2 (diff)
downloadmongo-a732d6f8067c089e27a293a01e47e1526709626d.tar.gz
SERVER-77023 make lint_fuzzer_sanity_patch work on enterprise module
-rw-r--r--evergreen/lint_fuzzer_sanity_patch.py2
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)]