diff options
| author | Markus Reiter | 2016-10-23 14:30:50 +0200 |
|---|---|---|
| committer | Markus Reiter | 2016-10-23 14:32:34 +0200 |
| commit | 8c488de3f654af452d1cdfe5be26aca87b29af3c (patch) | |
| tree | e7a298db247e7243ee87ed5c66053ea67107f865 /Library | |
| parent | 15b858ccc4de1e76e8251c69b5f1a30af223d3c3 (diff) | |
| download | brew-8c488de3f654af452d1cdfe5be26aca87b29af3c.tar.bz2 | |
Remove unnecessary string interpolation.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cli/info.rb | 2 |
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 |
