Skip to content

Commit

Permalink
[git-webkit pr] The prompt order for retry on check-webkit-style is c…
Browse files Browse the repository at this point in the history
…onfusing

https://bugs.webkit.org/show_bug.cgi?id=274318
rdar://128279364

Reviewed by Jonathan Bedard.

Switches the order of the retry prompt.

* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py:
(PullRequest.pre_pr_checks):

Canonical link: https://commits.webkit.org/278923@main
  • Loading branch information
briannafan committed May 17, 2024
1 parent 479314b commit 6d33df3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def pre_pr_checks(cls, repository, attempts=3, add_edits=True):
break
options = ['Yes', 'Retry', 'No']
response = Terminal.choose(
'{} failed, continue uploading pull request?\nRetry will amend the commit with your changes.'.format(name),
'{} failed!\nRetry will amend the commit with your changes. Continue uploading pull request?'.format(name),
options=(options[0], options[2]) if attempt + 1 == attempts else options,
default='No',
)
Expand Down

0 comments on commit 6d33df3

Please sign in to comment.