mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-08 11:02:48 +08:00
修复重装错误
This commit is contained in:
@@ -73,11 +73,11 @@ class AdminUpdateServiceBase
|
|||||||
|
|
||||||
if ($last_version == $current_version) {
|
if ($last_version == $current_version) {
|
||||||
$output->writeln('当前版本为最新版本');
|
$output->writeln('当前版本为最新版本');
|
||||||
$this->cleanWorkpaceDir();
|
|
||||||
|
|
||||||
if ($input->hasOption('reinstall')) {
|
if ($input->hasOption('reinstall')) {
|
||||||
$output->writeln('重装代码');
|
$output->writeln('重装代码');
|
||||||
} else {
|
} else {
|
||||||
|
$this->cleanWorkpaceDir();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user