Skip to content

Conversation

@abcpro1
Copy link
Contributor

@abcpro1 abcpro1 commented Jan 13, 2026

Add a separate command for parameters that need to be split on whitespace boundaries, and default to not splitting.

The previous behaviour always split parameters, which caused copilot CLI to fail when a project had whitespace in the repository directory name; error: too many arguments. Expected 0 arguments but got 1.

Even though it only happened in Copilot because of an implementation detail where it received a directory name that also happened to contain the project name, the problem was not unique to Copilot.

@abcpro1 abcpro1 requested a review from ggordonhall January 13, 2026 17:45
@abcpro1 abcpro1 force-pushed the fix-command-builder-whitespace branch from fa92994 to b2f2d86 Compare January 13, 2026 18:02
Add a seprate command for parameters that need to be split on whitespace boundaries, and default to not splitting.

The previous behaviour always split parameters, which caused copilot CLI to fail when a project had whitespace in the repository directory name; `error: too many arguments. Expected 0 arguments but got 1;.

The issue was not specific to copilot altough it only occured in copilot due to an implementation detail for copilot where it recevied a directory name which happened to contain the project name.
@abcpro1 abcpro1 force-pushed the fix-command-builder-whitespace branch from b2f2d86 to 4f61db7 Compare January 14, 2026 11:20
@ggordonhall
Copy link
Contributor

!reviewfast

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.

2 participants