Skip to content

Commit

Permalink
Fix global variable indexing rebase conflict (#2703)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinistock authored Oct 10, 2024
1 parent 98461f1 commit 63ad741
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb
Original file line number Diff line number Diff line change
Expand Up @@ -469,9 +469,8 @@ def handle_global_variable(node, loc)
@index.add(Entry::GlobalVariable.new(
name,
@file_path,
loc,
Location.from_prism_location(loc, @encoding),
comments,
@index.configuration.encoding,
))
end

Expand Down

0 comments on commit 63ad741

Please sign in to comment.