chore(scripts): improve new issue script confirmation

This commit is contained in:
Prad Nukala 2024-12-26 19:32:23 +00:00
parent 75adb6200d
commit d8e5bc9f37
5 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@ collect_requirements() {
while true; do while true; do
if add_requirement; then if add_requirement; then
req_count=$((req_count + 1)) 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 break
fi fi
else else

View File

@ -16,11 +16,11 @@ vars:
includes: includes:
hway: hway:
taskfile: .taskfiles/Hway.yml taskfile: taskfiles/Hway.yml
ipfs: ipfs:
taskfile: .taskfiles/IPFS.yml taskfile: taskfiles/IPFS.yml
sonrd: sonrd:
taskfile: .taskfiles/Sonrd.yml taskfile: taskfiles/Sonrd.yml
tasks: tasks:
default: default: