Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
fix(lsp/java): do not create SourceFileManager for root project (fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
itsaky committed Nov 11, 2023
1 parent 8eddcc2 commit ed52590
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class JavaLanguageServer : ILanguageServer {

// Cache classpath locations
for (subModule in project.subProjects) {
if (subModule !is ModuleProject) {
if (subModule !is ModuleProject || subModule.path == project.rootProject.path) {
continue
}
SourceFileManager.forModule(subModule)
Expand Down

0 comments on commit ed52590

Please sign in to comment.