From 9c2fd9165c303782a29da94912e3219d62ec7092 Mon Sep 17 00:00:00 2001 From: Andrii Vasyliev Date: Thu, 14 Jan 2016 10:50:50 +0000 Subject: [PATCH] improved calling composer in UpdateGoal --- src/controllers/UpdateController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/UpdateController.php b/src/controllers/UpdateController.php index a3ce62a..476e4af 100644 --- a/src/controllers/UpdateController.php +++ b/src/controllers/UpdateController.php @@ -24,6 +24,6 @@ public function actionMake() public function makeUpdate() { - exec('cd .hidev;composer update --prefer-source'); + $this->passthru('composer', ['update', '-d', '.hidev', '--prefer-source', '--ansi']); } }