aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/edit.rb
diff options
context:
space:
mode:
authorJack Nagel2014-06-22 15:00:15 -0500
committerJack Nagel2014-06-22 15:03:17 -0500
commitf7b71472fe139f6351af9871a889c78f9e13a1c5 (patch)
treebaed819539e34ad9d6e1197b4591848708948bb2 /Library/Homebrew/cmd/edit.rb
parent5cf83594155571ca67a85839d5c2cacc77fee4ea (diff)
downloadhomebrew-f7b71472fe139f6351af9871a889c78f9e13a1c5.tar.bz2
Move deprecated Formula class methods to compat
These have all been moved to Formulary.
Diffstat (limited to 'Library/Homebrew/cmd/edit.rb')
-rw-r--r--Library/Homebrew/cmd/edit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/edit.rb b/Library/Homebrew/cmd/edit.rb
index 08c730d79..a81280004 100644
--- a/Library/Homebrew/cmd/edit.rb
+++ b/Library/Homebrew/cmd/edit.rb
@@ -26,7 +26,7 @@ module Homebrew
else
# 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
+ name = Formulary.canonical_name(name)
Formula.path(name)
end
unless ARGV.force?