Skip to content

Commit e250a60

Browse files
committed
fix: set refresh refs to empty map if server not ready
1 parent 56181cc commit e250a60

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/next_ls.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -973,6 +973,8 @@ defmodule NextLS do
973973
{ref, {token, "Compiled #{name}!"}}
974974
end
975975
end)
976+
else
977+
Map.new()
976978
end
977979

978980
lsp =

0 commit comments

Comments
 (0)