mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 17:38:44 +00:00
[UTIL] Fixed an error for the --output
parameter in thor api:spec:generate
This commit is contained in:
parent
2d29bb7a63
commit
ccbb0e5c97
@ -120,7 +120,7 @@ module Elasticsearch
|
||||
def generate
|
||||
self.class.source_root File.expand_path('../', __FILE__)
|
||||
|
||||
@output = options[:output]
|
||||
@output = Pathname(options[:output])
|
||||
|
||||
rest_actions = Utils.__parse_java_source(options[:elasticsearch].to_s)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user