增加 -max 指定环境变量

This commit is contained in:
whyour
2022-10-26 14:27:14 +08:00
parent fdf672092a
commit 8ae13fe823
3 changed files with 32 additions and 57 deletions
-1
View File
@@ -90,7 +90,6 @@ export default class SystemService {
try {
const result = await got.get(config.lastVersionFile, {
timeout: 30000,
retry: 0,
});
const lastVersionFileContent = result.body;
lastVersion = lastVersionFileContent.match(versionRegx)![1];