From 18bb19395d9c33905786ff1b1d834db369142c20 Mon Sep 17 00:00:00 2001 From: Marco Cesarato Date: Thu, 15 Apr 2021 14:14:37 +0200 Subject: [PATCH] fix(composerJson): composer update change path command --- src/Bump/ComposerJson.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bump/ComposerJson.php b/src/Bump/ComposerJson.php index 24af368..ffe38ea 100644 --- a/src/Bump/ComposerJson.php +++ b/src/Bump/ComposerJson.php @@ -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;