Skip to content

Commit 036ee9c

Browse files
fix(autoremove): 修复在部分链接有效时如果不移除整个检查都会终止的问题 (#252)
有个傻孩子把应该 continue 的地方 return 掉了
1 parent bec6b40 commit 036ee9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tools/autoremove.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def 检查包版本(包标识符: str, 版本列表: list[str], 跳过检查: bo
5656
if InstallerUrls验证结果[0] in {1, 2}:
5757
print(f"{消息头.警告} 似乎有几个安装程序链接仍然有效,请检查它们。")
5858
if 是否中止(input(f"{消息头.问题} 要移除此版本吗? [y/N]: ")):
59-
return
59+
continue
6060
else:
6161
验证结果.append(InstallerUrls验证结果[1])
6262
print(f"{消息头.错误} {Fore.BLUE}{包标识符} {版本}{Fore.RESET} 下载失败!将移除此版本...")

0 commit comments

Comments
 (0)