Skip to content

Commit 6dabb1b

Browse files
committed
Fix a negation issue in the type of log message sent to the index log
1 parent 715796f commit 6dabb1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SourceKitLSP/SourceKitLSPServer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ extension SourceKitLSPServer {
834834
nonisolated func indexTaskDidProduceResult(_ result: IndexProcessResult) {
835835
self.sendNotificationToClient(
836836
LogMessageNotification(
837-
type: result.failed ? .info : .warning,
837+
type: result.failed ? .warning : .info,
838838
message: """
839839
\(result.taskDescription) finished in \(result.duration)
840840
\(result.command)

0 commit comments

Comments
 (0)