Skip to content

Commit e29c17b

Browse files
Refactor update command handling to improve status variable assignment
1 parent fcab015 commit e29c17b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/Console/Commands/Update.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,12 @@ class Update extends Command
2626
*/
2727
public function handle()
2828
{
29+
$this->info('Melakukan Pembaharuan Alikasi... Silakan Tunggu');
2930
$messages = SimpedeUpdater::getOutput($this->option('dev'));
3031
$status = null;
3132
foreach ($messages as $key => $message) {
3233
if ($key === 'success') {
33-
$success = $message;
34+
$status = $message;
3435

3536
continue;
3637
}

0 commit comments

Comments
 (0)