Skip to content

Commit

Permalink
review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kasiaMarek committed Sep 18, 2023
1 parent 2634e82 commit 47d8dbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class WorkspaceFolders(
if (!isIn(services, folder)) {
WorkspaceFoldersServices(
services :+ newService,
nonScalaProjects.filter(_ == folder),
nonScalaProjects.filterNot(_ == folder),
)
} else wfs
}
Expand All @@ -101,14 +101,6 @@ class WorkspaceFolders(

}

trait MetalsLspServiceCreator {
def apply(
folder: Folder,
updateLoggerFiles: () => Future[Unit],
forceIsScalaProject: Boolean = false,
): MetalsLspService
}

case class WorkspaceFoldersServices(
services: List[MetalsLspService],
nonScalaFolders: List[Folder],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class MetalsLanguageServer(
serverState.set(ServerState.Initialized(service))
metalsService.underlying = service

folderPaths.foreach(folder =>
folderPathsWithScala.foreach(folder =>
new StdReportContext(folder.toNIO).cleanUpOldReports()
)

Expand Down

0 comments on commit 47d8dbc

Please sign in to comment.