Skip to content

Commit a3e152c

Browse files
authoredFeb 9, 2023
Rollup merge of #107808 - kadiwa4:built-unsuccessfully, r=albertlarsan68
bootstrap.py: fix build-failure message A small mistake I did. Corrects #107470, fixes #107804 r? `@albertlarsan68` (since you reviewed the last one)
2 parents a621769 + 62edacf commit a3e152c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

Diff for: ‎src/bootstrap/bootstrap.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -937,6 +937,7 @@ def main():
937937
)
938938

939939
exit_code = 0
940+
success_word = "successfully"
940941
try:
941942
bootstrap(args)
942943
except (SystemExit, KeyboardInterrupt) as error:
@@ -945,9 +946,10 @@ def main():
945946
else:
946947
exit_code = 1
947948
print(error)
949+
success_word = "unsuccessfully"
948950

949951
if not help_triggered:
950-
print("Build completed successfully in", format_build_time(time() - start_time))
952+
print("Build completed", success_word, "in", format_build_time(time() - start_time))
951953
sys.exit(exit_code)
952954

953955

0 commit comments

Comments
 (0)
Please sign in to comment.