Fix typo: JSONRPCConnection should be spelled with two 'n'

This commit is contained in:
Alex Hoppen
2019-11-29 10:20:02 -08:00
parent 42f15b8829
commit f167126c8d
7 changed files with 17 additions and 17 deletions

View File

@@ -30,7 +30,7 @@ public final class BuildServerBuildSystem {
let requestQueue: DispatchQueue
var handler: BuildServerHandler?
var buildServer: JSONRPCConection?
var buildServer: JSONRPCConnection?
public private(set) var indexDatabasePath: AbsolutePath?
public private(set) var indexStorePath: AbsolutePath?
@@ -239,11 +239,11 @@ struct BuildServerConfig: Codable {
let argv: [String]
}
private func makeJSONRPCBuildServer(client: MessageHandler, serverPath: AbsolutePath, serverFlags: [String]?) throws -> JSONRPCConection {
private func makeJSONRPCBuildServer(client: MessageHandler, serverPath: AbsolutePath, serverFlags: [String]?) throws -> JSONRPCConnection {
let clientToServer = Pipe()
let serverToClient = Pipe()
let connection = JSONRPCConection(
let connection = JSONRPCConnection(
protocol: BuildServerProtocol.bspRegistry,
inFD: serverToClient.fileHandleForReading.fileDescriptor,
outFD: clientToServer.fileHandleForWriting.fileDescriptor