Skip to content

Commit

Permalink
cpplint: fail the build on errors
Browse files Browse the repository at this point in the history
  • Loading branch information
SRombauts committed Aug 21, 2024
1 parent 525b7be commit 9b332ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpplint.py
Original file line number Diff line number Diff line change
Expand Up @@ -4807,8 +4807,8 @@ def main():
ProcessFile(filename, _cpplint_state.verbose_level)
_cpplint_state.PrintErrorCounts()

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


if __name__ == '__main__':
Expand Down

0 comments on commit 9b332ba

Please sign in to comment.