aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2013-06-23 18:44:10 -0700
committerAdam Vandenberg2013-06-23 18:44:10 -0700
commit9903e7cd92397323fdfaa05f778d5f16ae27e9d6 (patch)
tree5cf64b84eb3df2be54a548e3b3a0c504e339e5db
parent66fc5fa48a2a00a90b1ba147207606cf1c6f5221 (diff)
downloadbrew-9903e7cd92397323fdfaa05f778d5f16ae27e9d6.tar.bz2
Remove unused guard in canonical_name
Closes Homebrew/homebrew#20718.
-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{(.+)/(.+)/(.+)}