Skip to content

Commit 7050a31

Browse files
authored
Merge pull request #918 from wfongcn/patch-1
Change loop condition to include last argument
2 parents 9e84f46 + 74f7e50 commit 7050a31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/bash/create-new-feature.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ JSON_MODE=false
66
SHORT_NAME=""
77
ARGS=()
88
i=0
9-
while [ $i -lt $# ]; do
9+
while [ $i -le $# ]; do
1010
arg="${!i}"
1111
case "$arg" in
1212
--json)
@@ -197,4 +197,4 @@ else
197197
echo "SPEC_FILE: $SPEC_FILE"
198198
echo "FEATURE_NUM: $FEATURE_NUM"
199199
echo "SPECIFY_FEATURE environment variable set to: $BRANCH_NAME"
200-
fi
200+
fi

0 commit comments

Comments
 (0)