Skip to content

Commit 534ef41

Browse files
committed
Fix build
1 parent dc7a159 commit 534ef41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SourceKitLSP/Workspace.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,8 @@ package final class Workspace: Sendable, BuildServerManagerDelegate {
270270
self.syntacticIndex = SyntacticIndex(
271271
determineFilesToScan: { targets in
272272
await orLog("Getting list of files for syntactic index population") {
273-
try await buildServerManager.projectSourceFiles(in: targets)
274-
} ?? [:]
273+
try await buildServerManager.projectSourceFiles(in: targets).compactMap { ($0, $1) }
274+
} ?? []
275275
},
276276
syntacticTests: { [weak self] (snapshot) in
277277
guard let self else {

0 commit comments

Comments
 (0)