Skip to content

fix(cli): preserve leading zeros in positional string arguments#39215

Merged
yury-s merged 1 commit intomicrosoft:mainfrom
yury-s:fix/cli-preserve-leading-zeros
Feb 10, 2026
Merged

fix(cli): preserve leading zeros in positional string arguments#39215
yury-s merged 1 commit intomicrosoft:mainfrom
yury-s:fix/cli-preserve-leading-zeros

Conversation

@yury-s
Copy link
Member

@yury-s yury-s commented Feb 10, 2026

Minimist auto-converts numeric-looking positional args to numbers, stripping leading zeros (e.g. "0812345679" becomes 812345679). Pass string: ['_'] to keep positional args as strings.

Fixes microsoft/playwright-cli#252

Minimist auto-converts numeric-looking positional args to numbers,
stripping leading zeros (e.g. "0812345679" becomes 812345679). Pass
string: ['_'] to keep positional args as strings.

Fixes microsoft/playwright-cli#252
@yury-s yury-s merged commit 63a05f8 into microsoft:main Feb 10, 2026
5 of 6 checks passed
@yury-s yury-s deleted the fix/cli-preserve-leading-zeros branch February 10, 2026 19:10
@github-actions
Copy link
Contributor

Test results for "MCP"

1 failed
❌ [chromium] › mcp/launch.spec.ts:21 › test reopen browser @mcp-macos-15

4778 passed, 135 skipped


Merge workflow run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Leading zero is stripped when typing.

2 participants