未验证 提交 dd439b4c 编辑于 作者: EricFromCanada's avatar EricFromCanada
浏览文件

bump: skip PR check if livecheck does not return a version

上级 3b41be99
......@@ -227,7 +227,8 @@ module Homebrew
end
livecheck_latest = livecheck_result(formula_or_cask)
pull_requests = if !args.no_pull_requests? && (args.named.present? || livecheck_latest != current_version)
pull_requests = if !args.no_pull_requests? && (args.named.present? ||
(livecheck_latest.is_a?(Version) && livecheck_latest != current_version))
retrieve_pull_requests(formula_or_cask, name)
end
......
支持 Markdown
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册