未验证 提交 53f890bb 编辑于 作者: Mike McQuaid's avatar Mike McQuaid 提交者: GitHub
浏览文件

Merge pull request #12418 from EricFromCanada/bump-livecheck-presence

bump: skip PR check if livecheck does not return a version
......@@ -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.
先完成此消息的编辑!
想要评论请 注册