Make verify-flags-underscore.py return error on failure
We were running it in shippable and travis, but since it didn't return an error it wasn't actually catching things.
This commit is contained in:
@@ -236,6 +236,7 @@ def main():
|
||||
bad_lines.sort()
|
||||
for (relname, line) in bad_lines:
|
||||
print("%s:%s" % (relname, line))
|
||||
return 1
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
|
Reference in New Issue
Block a user