mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Fix FromDefaultNameLoader
.
This commit is contained in:
parent
b717f5d954
commit
fe1f6c95f5
@ -747,7 +747,9 @@ module Formulary
|
|||||||
return unless (name = ref[HOMEBREW_DEFAULT_TAP_FORMULA_REGEX, :name])
|
return unless (name = ref[HOMEBREW_DEFAULT_TAP_FORMULA_REGEX, :name])
|
||||||
return unless (tap = CoreTap.instance).installed?
|
return unless (tap = CoreTap.instance).installed?
|
||||||
|
|
||||||
super("#{tap}/#{name}")
|
return unless (loader = super("#{tap}/#{name}", warn: warn))
|
||||||
|
|
||||||
|
loader if loader.path.exist?
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user