Skip to content

Commit

Permalink
Use space for why-not command (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriksm committed Aug 30, 2021
1 parent a5c1ca0 commit f2a8612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CosyComposer.php
Original file line number Diff line number Diff line change
Expand Up @@ -1285,7 +1285,7 @@ protected function handleIndividualUpdates($data, $lockdata, $cdata, $one_pr_per
} catch (NotUpdatedException $e) {
// Not updated because of the composer command, not the
// restriction itself.
$command = sprintf('composer why-not %s:%s', $item->name, $item->latest);
$command = sprintf('composer why-not %s "%s"', $item->name, $item->latest);
$this->execCommand(sprintf('%s', $command), false);
$this->log($this->getLastStdErr(), Message::COMMAND, [
'command' => $command,
Expand Down

0 comments on commit f2a8612

Please sign in to comment.