We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3947b27 + d92d20a commit a8de9e6Copy full SHA for a8de9e6
SoftLayer/CLI/formatting.py
@@ -260,7 +260,10 @@ def no_going_back(confirmation):
260
261
prompt = f"This action cannot be undone! Type '{confirmation}' or press Enter to abort"
262
263
- ans = click.prompt(prompt, default='', show_default=False)
+ try:
264
+ ans = click.prompt(prompt, default='', show_default=False)
265
+ except click.exceptions.Abort:
266
+ return False
267
if ans.lower() == str(confirmation).lower():
268
return True
269
0 commit comments