lib/ruby_lsp/requests/references.rb in ruby-lsp-0.20.0 vs lib/ruby_lsp/requests/references.rb in ruby-lsp-0.20.1

- old
+ new

@@ -76,9 +76,11 @@ # of reading from disk next if @store.key?(uri) parse_result = Prism.parse_file(path) collect_references(reference_target, parse_result, uri) + rescue Errno::EISDIR, Errno::ENOENT + # If `path` is a directory, just ignore it and continue. If the file doesn't exist, then we also ignore it. end @store.each do |_uri, document| collect_references(reference_target, document.parse_result, document.uri) end