download require functions

This commit is contained in:
xiaomlove
2022-04-18 23:46:00 +08:00
parent 204132746a
commit 242ddcf6ca
2 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -33,7 +33,9 @@ if ($currentStep == 2) {
'published_at' => '---',
];
try {
$versions = $update->listVersions();
//Unnecessary
// $versions = $update->listVersions();
$versions = [];
} catch (\Exception $exception) {
$update->doLog("can not fetch versions from github: " . $exception->getMessage());
}