💫 Toolkit to help you get started with SDD or any other process!
Change loop condition to include last argument
Peter Wang74f7e508a4b0
diff --git a/scripts/bash/create-new-feature.sh b/scripts/bash/create-new-feature.shindex 510f62046..243aaea40 100644--- a/scripts/bash/create-new-feature.sh+++ b/scripts/bash/create-new-feature.sh@@ -6,7 +6,7 @@ JSON_MODE=falseSHORT_NAME=""ARGS=()i=0-while [ $i -lt $# ]; do+while [ $i -le $# ]; doarg="${!i}"case "$arg" in--json)@@ -197,4 +197,4 @@ elseecho "SPEC_FILE: $SPEC_FILE"echo "FEATURE_NUM: $FEATURE_NUM"echo "SPECIFY_FEATURE environment variable set to: $BRANCH_NAME"-fi\ No newline at end of file+fi