Skip to content

Commit dadda12

Browse files
MearmanCopilot
andauthored
Update scripts/bash/create-new-feature.sh
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent b4e1c07 commit dadda12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/bash/create-new-feature.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ if [ -z "$BRANCH_NUMBER" ]; then
246246
fi
247247
fi
248248

249-
# Force base-10 interpretation to prevent octal conversion (027 → 23)
249+
# Force base-10 interpretation to prevent octal conversion (e.g., 010 → 8 in octal, but should be 10 in decimal)
250250
FEATURE_NUM=$(printf "%03d" "$((10#$BRANCH_NUMBER))")
251251
BRANCH_NAME="${FEATURE_NUM}-${BRANCH_SUFFIX}"
252252

0 commit comments

Comments
 (0)