diff --git a/Library/Homebrew/tap.rb b/Library/Homebrew/tap.rb index 05bb1d2d37..2cf80ed4a5 100644 --- a/Library/Homebrew/tap.rb +++ b/Library/Homebrew/tap.rb @@ -987,8 +987,10 @@ class Tap def autobump autobump_packages = if core_cask_tap? Homebrew::API::Cask.all_casks - else + elsif core_tap? Homebrew::API::Formula.all_formulae + else + {} end @autobump ||= autobump_packages.select do |_, p|