mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
tap: fix autobump logic for unofficial taps
Signed-off-by: botantony <antonsm21@gmail.com>
This commit is contained in:
parent
335933f67c
commit
a043e7bbf8
@ -987,8 +987,10 @@ class Tap
|
|||||||
def autobump
|
def autobump
|
||||||
autobump_packages = if core_cask_tap?
|
autobump_packages = if core_cask_tap?
|
||||||
Homebrew::API::Cask.all_casks
|
Homebrew::API::Cask.all_casks
|
||||||
else
|
elsif core_tap?
|
||||||
Homebrew::API::Formula.all_formulae
|
Homebrew::API::Formula.all_formulae
|
||||||
|
else
|
||||||
|
{}
|
||||||
end
|
end
|
||||||
|
|
||||||
@autobump ||= autobump_packages.select do |_, p|
|
@autobump ||= autobump_packages.select do |_, p|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user