Skip to content

Commit

Permalink
Rollup merge of #107808 - kadiwa4:built-unsuccessfully, r=albertlarsan68
Browse files Browse the repository at this point in the history
bootstrap.py: fix build-failure message

A small mistake I did.
Corrects #107470, fixes #107804

r? `@albertlarsan68` (since you reviewed the last one)
  • Loading branch information
matthiaskrgr authored Feb 9, 2023
2 parents a621769 + 62edacf commit a3e152c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/bootstrap/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -937,6 +937,7 @@ def main():
)

exit_code = 0
success_word = "successfully"
try:
bootstrap(args)
except (SystemExit, KeyboardInterrupt) as error:
Expand All @@ -945,9 +946,10 @@ def main():
else:
exit_code = 1
print(error)
success_word = "unsuccessfully"

if not help_triggered:
print("Build completed successfully in", format_build_time(time() - start_time))
print("Build completed", success_word, "in", format_build_time(time() - start_time))
sys.exit(exit_code)


Expand Down

0 comments on commit a3e152c

Please sign in to comment.