Release debug

This commit is contained in:
xdrm-brackets 2016-11-08 09:26:00 +01:00
parent e17d870094
commit a149e93262
1 changed files with 3 additions and 2 deletions

View File

@ -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