diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index f756ab3ea4..c17e260df2 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -860,6 +860,7 @@ module Homebrew return if Homebrew::EnvConfig.developer? return if Homebrew::EnvConfig.no_install_from_api? return if Homebrew::Settings.read("devcmdrun") == "true" + cask_tap = Tap.fetch("homebrew", "cask") return unless cask_tap.installed?