mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-04 08:28:57 +02:00
Proper exit code. Issue #52
This commit is contained in:
+1
-2
@@ -135,8 +135,7 @@ class Console
|
||||
throw new Exception('You must specify an environment for this command.');
|
||||
}
|
||||
}
|
||||
$command->run();
|
||||
$exitCode = 0;
|
||||
$exitCode = $command->run();
|
||||
|
||||
} catch (Exception $exception) {
|
||||
self::output('<red>' . $exception->getMessage() . '</red>', 1, 2);
|
||||
|
||||
Reference in New Issue
Block a user