diff options
| author | Jack Nagel | 2014-04-05 22:03:34 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-04-05 22:03:49 -0500 | 
| commit | 9a26171eb661ad0d0719e9b101ebf610da8bfaa6 (patch) | |
| tree | 938a68e899dbaadcb47c74e2d3b81f246919a79b /Library/Homebrew/cmd/edit.rb | |
| parent | 750880f292f906fb640c032339bb839393eb1d9c (diff) | |
| download | homebrew-9a26171eb661ad0d0719e9b101ebf610da8bfaa6.tar.bz2 | |
Remove obsolete guards around canonical_name return value
Diffstat (limited to 'Library/Homebrew/cmd/edit.rb')
| -rw-r--r-- | Library/Homebrew/cmd/edit.rb | 6 | 
1 files changed, 1 insertions, 5 deletions
| diff --git a/Library/Homebrew/cmd/edit.rb b/Library/Homebrew/cmd/edit.rb index 4389087d4..5f5fdf2fc 100644 --- a/Library/Homebrew/cmd/edit.rb +++ b/Library/Homebrew/cmd/edit.rb @@ -27,11 +27,7 @@ module Homebrew extend self        # Don't use ARGV.formulae as that will throw if the file doesn't parse        paths = ARGV.named.map do |name|          name = Formula.canonical_name name -        if name.include? '/' -          Pathname.new(name) -        else -          Formula.path(name) -        end +        Formula.path(name)        end        unless ARGV.force?          paths.each do |path| | 
