diff options
| author | Adam Vandenberg | 2013-06-23 18:44:10 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-06-23 18:44:10 -0700 |
| commit | 9903e7cd92397323fdfaa05f778d5f16ae27e9d6 (patch) | |
| tree | 5cf64b84eb3df2be54a548e3b3a0c504e339e5db /Library | |
| parent | 66fc5fa48a2a00a90b1ba147207606cf1c6f5221 (diff) | |
| download | brew-9903e7cd92397323fdfaa05f778d5f16ae27e9d6.tar.bz2 | |
Remove unused guard in canonical_name
Closes Homebrew/homebrew#20718.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 |
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{(.+)/(.+)/(.+)} |
