Skip to content

Commit

Permalink
refactor(composerJson): change exec command composer update method
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Cesarato committed Apr 15, 2021
1 parent 644cb05 commit 71722bd
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')) {
ShellCommand::exec('cd "' . escapeshellarg($this->getPath()) . '" && composer update');
exec('cd "' . escapeshellarg($this->getPath()) . '" && composer update');
}

return $this;
Expand Down

0 comments on commit 71722bd

Please sign in to comment.