-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split mixin command args by whitespace
Some mixin commands have whitespace and right now we are passing them in as packed into a single array element when executing the command exec.Cmd("aws", []string{"ec2", "run-instances", "--security-group-ids group1 group2"}) When the debug command is printed, we can't tell that this has happened, and why the command failed. What needs to happen is that when there is a space, and it's not enclosed in double quotes, it should be split into its own array element exec.Cmd("aws", []string{"ec2", "run-instances", "--security-group-ids", "group1", "group2"})
- Loading branch information
1 parent
283c437
commit 3e66098
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters