aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-06-23 18:44:10 -0700
committerAdam Vandenberg2013-06-23 18:44:10 -0700
commitf83bc2f56bfaaa7347f2fa1e8c23c583ac644b8e (patch)
tree76ed12bd4b285fb007ce880dd0d24129013617e7 /Library
parent2c1172d64ba058cbe1c7be01f2f2fe6ca181e74f (diff)
downloadhomebrew-f83bc2f56bfaaa7347f2fa1e8c23c583ac644b8e.tar.bz2
Remove unused guard in canonical_name
Closes #20718.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index e8d045ff5..3ad91ac8b 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -355,8 +355,6 @@ class Formula
end
def self.canonical_name name
- name = name.to_s if name.kind_of? Pathname
-
# if name includes a '/', it may be a tap reference, path, or URL
if name.include? "/"
if name =~ %r{(.+)/(.+)/(.+)}