chore(scripts): improve new issue script confirmation

This commit is contained in:
Prad
2024-12-26 19:32:23 +00:00
parent 75adb6200d
commit d8e5bc9f37
5 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ collect_requirements() {
while true; do
if add_requirement; then
req_count=$((req_count + 1))
if [ $req_count -ge 2 ] && ! gum confirm "Do you want to add another requirement?"; then
if [ $req_count -ge 2 ] && ! gum confirm --default=false "Do you want to add another requirement?"; then
break
fi
else