Skip to content

Commit

Permalink
Order the stdout/err lines
Browse files Browse the repository at this point in the history
  • Loading branch information
vmarkovtsev committed Jun 7, 2021
1 parent ed82c88 commit cd390ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def main():
scanned += len(files)
for file in sorted(files):
success &= scan_file(file, comment, regexp)
sys.stderr.flush()
print(f"Scanned {scanned} files.")
return int(not success)

Expand Down

0 comments on commit cd390ac

Please sign in to comment.