From 6dabb1bec77f6df7852d98dd0bcfc703ead24f2e Mon Sep 17 00:00:00 2001 From: Alex Hoppen Date: Wed, 29 May 2024 16:59:23 -0700 Subject: [PATCH] Fix a negation issue in the type of log message sent to the index log --- Sources/SourceKitLSP/SourceKitLSPServer.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SourceKitLSP/SourceKitLSPServer.swift b/Sources/SourceKitLSP/SourceKitLSPServer.swift index d69b82796..174abf5da 100644 --- a/Sources/SourceKitLSP/SourceKitLSPServer.swift +++ b/Sources/SourceKitLSP/SourceKitLSPServer.swift @@ -834,7 +834,7 @@ extension SourceKitLSPServer { nonisolated func indexTaskDidProduceResult(_ result: IndexProcessResult) { self.sendNotificationToClient( LogMessageNotification( - type: result.failed ? .info : .warning, + type: result.failed ? .warning : .info, message: """ \(result.taskDescription) finished in \(result.duration) \(result.command)