Skip to content

Commit dbfcdf5

Browse files
committed
Update WorkspaceFoldersRequest to match version 3.14 of the LSP spec
1 parent 5669036 commit dbfcdf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/LanguageServerProtocol/WorkspaceFolders.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/// open. Returns an empty array if a workspace is open but no folders are configured.
2020
public struct WorkspaceFoldersRequest: RequestType, Hashable {
2121
public static let method: String = "workspace/workspaceFolders"
22-
public typealias Response = [WorkspaceFolder]
22+
public typealias Response = [WorkspaceFolder]?
2323
}
2424

2525
/// Notification from the client that the set of open workspace folders has changed.

0 commit comments

Comments
 (0)