From 278e869b86289aa0ab1ec12975295a75cb3b72df Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Mon, 13 May 2024 08:59:51 +0200 Subject: [PATCH] Fix deprecated CoreTap.ensure_installed! --- lib/tests/formulae_detect.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]