summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)]