fixed version check
This commit is contained in:
parent
ca1c4f2942
commit
a6f70e164b
@ -84,7 +84,7 @@ class Update extends Command
|
|||||||
if ($new == 'latest') {
|
if ($new == 'latest') {
|
||||||
$modules = ($this->alias == 'core') ? [] : [$this->alias];
|
$modules = ($this->alias == 'core') ? [] : [$this->alias];
|
||||||
|
|
||||||
$new = Versions::latest($modules)[$this->alias];
|
$new = Versions::latest($modules)[$this->alias]->data->latest;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $new;
|
return $new;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user