From 9eb6badbdb90995b0a67b92442d6aa409648fa63 Mon Sep 17 00:00:00 2001 From: Gustavo Bazan Date: Wed, 13 Mar 2024 09:41:01 +0000 Subject: [PATCH] Update homebrew.go --- internal/homebrew/homebrew.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/homebrew/homebrew.go b/internal/homebrew/homebrew.go index 18c9d496b1..cbf04ad553 100644 --- a/internal/homebrew/homebrew.go +++ b/internal/homebrew/homebrew.go @@ -45,7 +45,7 @@ func NewChecker(fileSystem afero.Fs) (*Checker, error) { } // IsHomebrew checks if the cli was installed with homebrew. -func (s Checker) IsHomebrew() bool { +func (s *Checker) IsHomebrew() bool { // Load from cache h, err := s.load() if h != nil && h.ExecutablePath != "" && h.FormulaPath != "" && err == nil {