diff options
author | David Bradford <david.bradford@mongodb.com> | 2020-04-29 15:25:17 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-05-06 13:35:43 +0000 |
commit | 1dc60902170fe8d69d50b32220b254ad681dfcf2 (patch) | |
tree | f1c31d70d1edeffa9cf0e93bc36f28c3c1c14f2d /SConstruct | |
parent | d2274bb6e1f8b21d73121a2fcb20b6628f652bbe (diff) | |
download | mongo-1dc60902170fe8d69d50b32220b254ad681dfcf2.tar.gz |
SERVER-47796: Ensure linters run against enterprise modules
(cherry picked from commit 74ea6aa4dfd7b3b4acf090084d36891834a49385)
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct index df966652506..09f47ac4001 100644 --- a/SConstruct +++ b/SConstruct @@ -4216,7 +4216,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( @@ -4225,7 +4225,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( |