lib/steep/server/signature_worker.rb in steep-0.18.0 vs lib/steep/server/signature_worker.rb in steep-0.19.0
- old
+ new
@@ -112,9 +112,10 @@
target.signature_files.each_key.with_object({}) do |path, hash|
hash[path] = []
end
else
Steep.logger.info "Unexpected target status: #{status.class}"
+ {}
end
diagnostics.each do |path, diags|
writer.write(
method: :"textDocument/publishDiagnostics",