aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cask/lib/hbc/cli/info.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/info.rb b/Library/Homebrew/cask/lib/hbc/cli/info.rb
index be6feb63b..163ec7ed8 100644
--- a/Library/Homebrew/cask/lib/hbc/cli/info.rb
+++ b/Library/Homebrew/cask/lib/hbc/cli/info.rb
@@ -53,7 +53,7 @@ module Hbc
def self.repo_info(cask)
user, repo, token = QualifiedToken.parse(Hbc.all_tokens.detect { |t| t.split("/").last == cask.token })
remote_tap = Tap.fetch(user, repo)
- return "#{remote_tap.remote}" if remote_tap.custom_remote?
+ return remote_tap.remote.to_s if remote_tap.custom_remote?
"#{remote_tap.default_remote}/blob/master/Casks/#{token}.rb"
end