Skip to content

Commit

Permalink
Update homebrew.go
Browse files Browse the repository at this point in the history
  • Loading branch information
gssbzn committed Mar 13, 2024
1 parent d05a49a commit 9eb6bad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/homebrew/homebrew.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9eb6bad

Please sign in to comment.