From 567ea44c99ddcf55f03f5d5bc9e1c7e1d934485b Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Fri, 23 Feb 2024 15:10:27 +0100 Subject: [PATCH] Actually return `super` in `CoreTap#remote`. --- Library/Homebrew/tap.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/tap.rb b/Library/Homebrew/tap.rb index 5bad532b3b..7f957f5cae 100644 --- a/Library/Homebrew/tap.rb +++ b/Library/Homebrew/tap.rb @@ -1032,9 +1032,9 @@ class CoreTap < AbstractCoreTap 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