Skip to content

Commit

Permalink
fix(composerJson): composer update change path command
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Cesarato committed Apr 15, 2021
1 parent 843b4bf commit 18bb193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bump/ComposerJson.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function save(): self
{
parent::save();
if (ShellCommand::exists('composer')) {
exec('cd "' . escapeshellarg($this->getPath()) . '" && composer update');
exec('cd ' . escapeshellarg($this->getPath()) . ' && composer update');
}

return $this;
Expand Down

0 comments on commit 18bb193

Please sign in to comment.