Merge pull request #918 from wfongcn/patch-1

Change loop condition to include last argument
This commit is contained in:
Den Delimarsky
2025-10-18 20:03:39 -07:00
committed by GitHub

View File

@@ -6,7 +6,7 @@ JSON_MODE=false
SHORT_NAME=""
ARGS=()
i=0
while [ $i -lt $# ]; do
while [ $i -le $# ]; do
arg="${!i}"
case "$arg" in
--json)
@@ -197,4 +197,4 @@ else
echo "SPEC_FILE: $SPEC_FILE"
echo "FEATURE_NUM: $FEATURE_NUM"
echo "SPECIFY_FEATURE environment variable set to: $BRANCH_NAME"
fi
fi