Skip to content

Commit 3f48c4b

Browse files
committed
[API] Code Generator: Remove unused variable
1 parent 2c6b3ac commit 3f48c4b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

elasticsearch-api/utils/thor/generate_source.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ class SourceGenerator < Thor
4242
include Thor::Actions
4343
include EndpointSpecifics
4444

45-
__root = Pathname(File.expand_path('../../..', __FILE__))
46-
4745
desc 'generate', 'Generate source code and tests from the REST API JSON specification'
4846
method_option :verbose, type: :boolean, default: false, desc: 'Output more information'
4947
method_option :tests, type: :boolean, default: false, desc: 'Generate test files'

0 commit comments

Comments
 (0)