diff --git a/lib/tests/formulae_detect.rb b/lib/tests/formulae_detect.rb index 40c993dc..acd73139 100644 --- a/lib/tests/formulae_detect.rb +++ b/lib/tests/formulae_detect.rb @@ -48,7 +48,7 @@ def detect_formulae!(args:) elsif (canonical_formula_name = safe_formula_canonical_name(@argument, args:)) unless canonical_formula_name.include?("/") ENV["HOMEBREW_NO_INSTALL_FROM_API"] = "1" - CoreTap.ensure_installed! + CoreTap.instance.ensure_installed! end @testing_formulae = [canonical_formula_name]