We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7662d27 commit 0e15050Copy full SHA for 0e15050
elasticsearch-api/utils/thor/generate_source.rb
@@ -200,7 +200,7 @@ def __http_path
200
def __parse_path(path)
201
path.gsub(/^\//, '')
202
.gsub(/\/$/, '')
203
- .gsub('{', "\#{Utils.__listify(_")
+ .gsub('{', "\#{#{__utils}.__listify(_")
204
.gsub('}', ')}')
205
end
206
@@ -296,7 +296,7 @@ def print_tree
296
297
298
def __utils
299
- (@current_api == :xpack) ? 'Elasticsearch::API::Utils' : 'Utils'
+ @current_api == :xpack ? 'Elasticsearch::API::Utils' : 'Utils'
300
301
302
def run_rubocop(api)
0 commit comments