Skip to content

Commit

Permalink
update.py: Red text for error reprint
Browse files Browse the repository at this point in the history
Co-authored-by: Henry Wurzburg <[email protected]>
  • Loading branch information
TunaLobster and Hwurzburg committed Jan 31, 2023
1 parent ee5e9af commit 896417e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update.py
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,7 @@ def create_features_page(features, build_options_by_define, vehicletype):
if error_count > 0:
print("Reprinting error messages:", file=sys.stderr)
for msg in error_log:
print(f"[update.py][error]: {msg}", file=sys.stderr)
print(f"\033[1;31m[update.py][error]: {msg}\033[0m", file=sys.stderr)
fatal(f"{error_count} errors during Wiki build")
else:
print("Build completed without errors")
Expand Down

0 comments on commit 896417e

Please sign in to comment.