From a732d6f8067c089e27a293a01e47e1526709626d Mon Sep 17 00:00:00 2001 From: Trevor Guidry Date: Thu, 11 May 2023 17:25:04 +0000 Subject: SERVER-77023 make lint_fuzzer_sanity_patch work on enterprise module --- evergreen/lint_fuzzer_sanity_patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)] -- cgit v1.2.1