Skip to content

Commit

Permalink
Remove needless self.class.__send__
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Nov 23, 2022
1 parent ab7a1b6 commit cddb83d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pkg-config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def compute_default_path
homebrew_repository_candidates << pkg_config_prefix
end
end
brew = self.class.__send__(:search_executable_from_path, "brew")
brew = search_executable_from_path("brew")
if brew
homebrew_repository = run_command("brew", "--repository")
if homebrew_repository
Expand Down

0 comments on commit cddb83d

Please sign in to comment.