Skip to content

Commit

Permalink
Don't add a space to flags since we are using array input to process
Browse files Browse the repository at this point in the history
  • Loading branch information
Trent Schmidt committed Jul 1, 2018
1 parent 19c4570 commit 89c923c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function generateBaseCommand(): array
if (in_array($item, $whitelist)) {
continue;
}
$command[] = " -{$flags[$item]}";
$command[] = "-{$flags[$item]}";
if ($value !== '' && !in_array($item, $skipValue)) {
$command[] = $value;
}
Expand Down

0 comments on commit 89c923c

Please sign in to comment.