未验证 提交 b8b3f065 编辑于 作者: Jonathan Chang's avatar Jonathan Chang 提交者: GitHub
浏览文件

Merge pull request #9319 from jonchang/fix-default-prefix-type-errors

global: fix `default_prefix?` definition
......@@ -88,7 +88,7 @@ module Homebrew
class << self
attr_writer :failed, :raise_deprecation_exceptions, :auditing
def Homebrew.default_prefix?(prefix = HOMEBREW_PREFIX)
def default_prefix?(prefix = HOMEBREW_PREFIX)
prefix.to_s == DEFAULT_PREFIX
end
......
支持 Markdown
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册