Rename generate!
to write_formula!
This commit is contained in:
parent
51b16585fb
commit
d8f19ff881
@ -200,7 +200,7 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
path = fc.generate!
|
path = fc.write_formula!
|
||||||
|
|
||||||
formula = Homebrew.with_no_api_env do
|
formula = Homebrew.with_no_api_env do
|
||||||
Formula[fc.name]
|
Formula[fc.name]
|
||||||
|
@ -49,7 +49,7 @@ module Homebrew
|
|||||||
@head || args.HEAD?
|
@head || args.HEAD?
|
||||||
end
|
end
|
||||||
|
|
||||||
def generate!
|
def write_formula!
|
||||||
path = @tap.new_formula_path(@name)
|
path = @tap.new_formula_path(@name)
|
||||||
raise "#{path} already exists" if path.exist?
|
raise "#{path} already exists" if path.exist?
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user