Skip to content

Commit

Permalink
Fix the output to go in order
Browse files Browse the repository at this point in the history
  • Loading branch information
vmarkovtsev committed Jun 7, 2021
1 parent cd390ac commit ac551e4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +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.")
print(f"Scanned {scanned} files.", file=sys.stderr)
return int(not success)


Expand Down

0 comments on commit ac551e4

Please sign in to comment.