diff --git a/Library/Homebrew/cask/lib/hbc/cask.rb b/Library/Homebrew/cask/lib/hbc/cask.rb index e318880153..8ec40f68dd 100644 --- a/Library/Homebrew/cask/lib/hbc/cask.rb +++ b/Library/Homebrew/cask/lib/hbc/cask.rb @@ -56,12 +56,8 @@ module Hbc end def full_name - return token if tap&.user == "Homebrew" - qualified_token - end - - def qualified_token return token if tap.nil? + return token if tap.user == "Homebrew" "#{tap.name}/#{token}" end