Skip to content

workspace: fix arg parsing for args with whitespace#1301

Open
AstralZebulon wants to merge 1 commit intosagiegurari:masterfrom
AstralZebulon:fix-workspace-arg-passing
Open

workspace: fix arg parsing for args with whitespace#1301
AstralZebulon wants to merge 1 commit intosagiegurari:masterfrom
AstralZebulon:fix-workspace-arg-passing

Conversation

@AstralZebulon
Copy link
Copy Markdown

CLI args with whitespace were not being perserved when creating the workspace task script, so that a single arg was being split into multiple args for the workspace member's task run.

For example
--feature "f1 f2"
was being seen as
--feature f1 f2

The result was an error because the f2 was not seen as associated with the --feature flag anymore.

CLI args with whitespace were not being perserved when creating the
workspace task script, so that a single arg was being split into
multiple args for the workspace member's task run.

 For example
   `--feature "f1 f2"`
was being seen as
   `--feature f1 f2`

The result was an error because the `f2` was not seen as associated
with the `--feature` flag anymore.
@AstralZebulon
Copy link
Copy Markdown
Author

Should I file a bug for this PR?

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.

1 participant