We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2852ce3 + f50ce7a commit 3bb1a1bCopy full SHA for 3bb1a1b
Sources/sourcekit-lsp/main.swift
@@ -120,10 +120,10 @@ do {
120
// will not break our connection stream.
121
let realStdout = dup(STDOUT_FILENO)
122
if realStdout == -1 {
123
- fatalError("failed to dup stdout: \(strerror(errno))")
+ fatalError("failed to dup stdout: \(strerror(errno)!)")
124
}
125
if dup2(STDERR_FILENO, STDOUT_FILENO) == -1 {
126
- fatalError("failed to redirect stdout -> stderr: \(strerror(errno))")
+ fatalError("failed to redirect stdout -> stderr: \(strerror(errno)!)")
127
128
129
let clientConnection = JSONRPCConnection(
0 commit comments