Release debug
This commit is contained in:
parent
e17d870094
commit
a149e93262
|
@ -48,11 +48,12 @@
|
||||||
/* [3] Launch script
|
/* [3] Launch script
|
||||||
=========================================================*/
|
=========================================================*/
|
||||||
/* (1) Launch command + test */
|
/* (1) Launch command + test */
|
||||||
$stdout = shell_exec('cd '.$js[$project]['git'].'; git pull origin '.$branch.';');
|
$cmd = 'cd '.$js[$project]['git'].'; git pull origin '.$branch.';';
|
||||||
|
$stdout = shell_exec($cmd);
|
||||||
|
|
||||||
/* (2) If error, raise error */
|
/* (2) If error, raise error */
|
||||||
if( is_null($stdout) )
|
if( is_null($stdout) )
|
||||||
return ['ModuleError'=>ManagerError::PermissionError];
|
return ['ModuleError'=>ManagerError::PermissionError, 'command'=>$cmd];
|
||||||
|
|
||||||
|
|
||||||
/* [4] Return success error
|
/* [4] Return success error
|
||||||
|
|
Loading…
Reference in New Issue