Skip to content

Commit

Permalink
Merge pull request #3067 from brave/header-guard-2
Browse files Browse the repository at this point in the history
don't error when CL is empty
  • Loading branch information
bridiver authored Jan 24, 2019
2 parents 2a118fc + 160d233 commit b00778f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def main(args):
files = [f.LocalPath() for f in change.AffectedFiles()]
if not files:
print('Cannot lint an empty CL')
return 1
return 0

# Process cpplints arguments if any.
command = args + files
Expand Down

0 comments on commit b00778f

Please sign in to comment.