We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b47fb7a commit 60251b1Copy full SHA for 60251b1
scripts/sign-commits.py
@@ -392,8 +392,8 @@ def main():
392
# Ask for confirmation unless non-interactive mode
393
if not args.non_interactive:
394
try:
395
- response = input(f"\nAdd DCO sign-off to {commits_needing_signoff} commits? [y/N]: ")
396
- if response.lower() not in ["y", "yes"]:
+ response = input(f"\nAdd DCO sign-off to {commits_needing_signoff} commits? [Y/n]: ")
+ if response.lower().strip() not in ["y", "yes", ""]:
397
print("Aborted by user")
398
sys.exit(1)
399
except KeyboardInterrupt:
0 commit comments