File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
apps/language_server/lib/language_server Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ defmodule ElixirLS.LanguageServer.Diagnostics do
114
114
defp file_path ( file , root_path ) do
115
115
path = Path . join ( [ root_path , file ] )
116
116
117
- if File . exists? ( path ) do
117
+ if File . exists? ( path , [ :raw ] ) do
118
118
{ :ok , path }
119
119
else
120
120
file_path_in_umbrella ( file , root_path )
Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ defmodule ElixirLS.LanguageServer.Providers.WorkspaceSymbols do
253
253
with true <- Code . ensure_loaded? ( module ) ,
254
254
path when not is_nil ( path ) <- module . module_info ( :compile ) [ :source ] ,
255
255
path_binary = List . to_string ( path ) ,
256
- true <- File . exists? ( path_binary ) do
256
+ true <- File . exists? ( path_binary , [ :raw ] ) do
257
257
path_binary
258
258
else
259
259
_ -> nil
@@ -265,7 +265,7 @@ defmodule ElixirLS.LanguageServer.Providers.WorkspaceSymbols do
265
265
with beam_file when not is_nil ( beam_file ) <-
266
266
ErlangSourceFile . get_beam_file ( module , beam_file ) ,
267
267
erl_file = ErlangSourceFile . beam_file_to_erl_file ( beam_file ) ,
268
- true <- File . exists? ( erl_file ) do
268
+ true <- File . exists? ( erl_file , [ :raw ] ) do
269
269
erl_file
270
270
else
271
271
_ -> nil
You can’t perform that action at this time.
0 commit comments