From d824ae38f09f9b0cae46f561f1d10b0ed6dcc270 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Thu, 7 Dec 2017 17:19:02 +0100 Subject: [PATCH] fix: api.module.dev (managed output) --- build/api/module/dev.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/api/module/dev.php b/build/api/module/dev.php index 33943f0..19fc4b2 100644 --- a/build/api/module/dev.php +++ b/build/api/module/dev.php @@ -29,11 +29,11 @@ class dev{ extract($argv); \chdir(__ROOT__); - \exec("git pull origin master", $stdout); + \exec("git pull origin master", $out_pull); \exec("npm update"); - \exec("npm run build"); + \exec("npm run build", $out_npm); - return [ 'stdout' => $stdout]; + return [ 'stdout' => [ $out_pull, $out_update ] ]; } }