We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d2c046 commit b696eb4Copy full SHA for b696eb4
app/Console/Commands/Update.php
@@ -28,7 +28,7 @@ public function handle()
28
{
29
$error = false;
30
try {
31
- $this->call('maintenance', ['start']);
+ $this->call('maintenance', ['action' => 'start']);
32
$process = new Process(['git', 'pull', 'origin', 'main']);
33
$process->run();
34
if (! $process->isSuccessful()) {
@@ -51,7 +51,7 @@ public function handle()
51
}
52
} finally {
53
$error ? $this->error('Update Gagal!') : $this->info('Update Sukses! ');
54
- $this->call('maintenance', ['stop']);
+ $this->call('maintenance', ['action' => 'stop']);
55
56
57
0 commit comments