[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…
Reference in New Issue