mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-08 02:38:09 +00:00
Give commands proper exit codes.
This commit is contained in:
@@ -46,7 +46,7 @@ class UpgradeFireflyInstructions extends Command
|
||||
/**
|
||||
* Execute the console command.
|
||||
*/
|
||||
public function handle(): void
|
||||
public function handle(): int
|
||||
{
|
||||
if ('update' === $this->argument('task')) {
|
||||
$this->updateInstructions();
|
||||
@@ -54,6 +54,7 @@ class UpgradeFireflyInstructions extends Command
|
||||
if ('install' === $this->argument('task')) {
|
||||
$this->installInstructions();
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user