use different exit codes for different errors
parent
d85bad29d6
commit
9e30c9b403
|
@ -129,6 +129,6 @@ EOT
|
|||
// Dispatch post-status-command
|
||||
$composer->getEventDispatcher()->dispatchScript(ScriptEvents::POST_STATUS_CMD, true);
|
||||
|
||||
return ($errors || $unpushedChanges) ? 1 : 0;
|
||||
return ($errors ? 1 : 0) + ($unpushedChanges ? 2 : 0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue