Skip to content

Commit 530e58c

Browse files
committed
remove not needed filters
1 parent 3a19a57 commit 530e58c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apps/language_server/lib/language_server/providers/workspace_symbols.ex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ defmodule ElixirLS.LanguageServer.Providers.WorkspaceSymbols do
180180
|> process_chunked(fn chunk ->
181181
for module <- chunk,
182182
path = find_module_path(module),
183-
path != nil,
184183
do: {module, path}
185184
end)
186185

@@ -209,7 +208,7 @@ defmodule ElixirLS.LanguageServer.Providers.WorkspaceSymbols do
209208
|> process_chunked(fn chunk ->
210209
for module <- chunk,
211210
path = find_module_path(module),
212-
path != nil and SourceFile.Path.to_uri(path, project_dir) in modified_uris,
211+
SourceFile.Path.to_uri(path, project_dir) in modified_uris,
213212
do: {module, path}
214213
end)
215214

0 commit comments

Comments
 (0)