Rename generate! to write_formula!

This commit is contained in:
Anatoli Babenia 2023-11-23 18:04:03 +03:00
parent 51b16585fb
commit d8f19ff881
2 changed files with 2 additions and 2 deletions

View File

@ -200,7 +200,7 @@ module Homebrew
end
end
path = fc.generate!
path = fc.write_formula!
formula = Homebrew.with_no_api_env do
Formula[fc.name]

View File

@ -49,7 +49,7 @@ module Homebrew
@head || args.HEAD?
end
def generate!
def write_formula!
path = @tap.new_formula_path(@name)
raise "#{path} already exists" if path.exist?