brew style
wrapping of a long call
This commit is contained in:
parent
c17fc7b6f6
commit
d1820a8fb1
@ -140,7 +140,13 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
|
|
||||||
def create_formula(args:)
|
def create_formula(args:)
|
||||||
fc = FormulaCreator.new(args.set_name, args.set_version, license: args.set_license, fetch: !args.no_fetch?, head: args.HEAD?)
|
fc = FormulaCreator.new(
|
||||||
|
args.set_name,
|
||||||
|
args.set_version,
|
||||||
|
license: args.set_license,
|
||||||
|
fetch: !args.no_fetch?,
|
||||||
|
head: args.HEAD?,
|
||||||
|
)
|
||||||
if fc.name.blank?
|
if fc.name.blank?
|
||||||
stem = Pathname.new(args.named.first).stem.rpartition("=").last
|
stem = Pathname.new(args.named.first).stem.rpartition("=").last
|
||||||
print "Formula name [#{stem}]: "
|
print "Formula name [#{stem}]: "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user