增加 -max 指定环境变量

This commit is contained in:
whyour committed 2022-10-26 14:27:14 +08:00
1 parent fdf672092a
commit 8ae13fe823
3 files changed
+32 -57

No files matched your search

-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];