[UTIL] Fixed an error for the `--output` parameter in `thor api:spec:generate`

This commit is contained in:
Karel Minarik 2013-12-05 17:36:16 +01:00
parent 2d29bb7a63
commit ccbb0e5c97
1 changed files with 1 additions and 1 deletions

View File

@ -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)