Skip to content

Commit

Permalink
Merge pull request #16785 from reitermarkus/tap-sig-remote
Browse files Browse the repository at this point in the history
Actually return `super` in `CoreTap#remote`.
  • Loading branch information
MikeMcQuaid committed Mar 1, 2024
2 parents 56b3982 + 567ea44 commit 6c6c418
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Library/Homebrew/tap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1036,9 +1036,9 @@ def ensure_installed!
super
end

sig { returns(String) }
sig { returns(T.nilable(String)) }
def remote
super if Homebrew::EnvConfig.no_install_from_api?
return super if Homebrew::EnvConfig.no_install_from_api?

Homebrew::EnvConfig.core_git_remote
end
Expand Down

0 comments on commit 6c6c418

Please sign in to comment.