Resume updating api_names_out.yaml (#888)
This commit is contained in:
parent
ec2dab19d0
commit
f707396c55
|
@ -38,9 +38,7 @@ module Google
|
|||
generate_from_url(options[:url]) if options[:url]
|
||||
generate_from_file(options[:file]) if options[:file]
|
||||
generate_from_discovery(preferred_only: options[:preferred_only]) if options[:from_discovery]
|
||||
if options[:names_out]
|
||||
create_file(options[:names_out]) { |*| generator.dump_api_names } unless File.exist? options[:names_out]
|
||||
end
|
||||
create_file(options[:names_out]) { |*| generator.dump_api_names } if options[:names_out]
|
||||
end
|
||||
|
||||
desc 'list', 'List public APIs'
|
||||
|
|
Loading…
Reference in New Issue