Skip to content

Commit 9b332ba

Browse files
committed
cpplint: fail the build on errors
1 parent 525b7be commit 9b332ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpplint.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4807,8 +4807,8 @@ def main():
48074807
ProcessFile(filename, _cpplint_state.verbose_level)
48084808
_cpplint_state.PrintErrorCounts()
48094809

4810-
# SRombauts: do not break build for cpplint style warnings
4811-
#sys.exit(_cpplint_state.error_count > 0)
4810+
# SRombauts: break the build for cpplint style warnings
4811+
sys.exit(_cpplint_state.error_count > 0)
48124812

48134813

48144814
if __name__ == '__main__':

0 commit comments

Comments
 (0)