summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorDavid Bradford <david.bradford@mongodb.com>2020-04-29 15:25:17 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-05-06 13:12:44 +0000
commit74ea6aa4dfd7b3b4acf090084d36891834a49385 (patch)
tree17da63a8f40caa926e5d0e08185ba1e7f604746d /SConstruct
parente2ccbbd922d42fc0f68608816c9a1265c6c87409 (diff)
downloadmongo-74ea6aa4dfd7b3b4acf090084d36891834a49385.tar.gz
SERVER-47796: Ensure linters run against enterprise modules
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index aa9d050afe9..a50191bd63d 100644
--- a/SConstruct
+++ b/SConstruct
@@ -4221,7 +4221,7 @@ if get_option('lint-scope') == 'changed':
"buildscripts/pylinters.py",
patch_file,
],
- action="$PYTHON ${SOURCES[0]} lint-patch ${SOURCES[1]}"
+ action="REVISION=$REVISION ENTERPRISE_REV=$ENTERPRISE_REV $PYTHON ${SOURCES[0]} lint-git-diff"
)
clang_format = env.Command(
@@ -4230,7 +4230,7 @@ if get_option('lint-scope') == 'changed':
"buildscripts/clang_format.py",
patch_file,
],
- action="$PYTHON ${SOURCES[0]} lint-patch ${SOURCES[1]}"
+ action="REVISION=$REVISION ENTERPRISE_REV=$ENTERPRISE_REV $PYTHON ${SOURCES[0]} lint-git-diff"
)
eslint = env.Command(