Skip to content

Commit 00f2f9e

Browse files
committed
Address review comments on #1329
1 parent 31a8cf3 commit 00f2f9e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Sources/SourceKitLSP/SourceKitLSPServer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,7 @@ extension SourceKitLSPServer {
11821182
nonisolated func indexTaskDidProduceResult(_ result: IndexProcessResult) {
11831183
self.sendNotificationToClient(
11841184
LogMessageNotification(
1185-
type: result.failed ? .info : .warning,
1185+
type: result.failed ? .warning : .info,
11861186
message: """
11871187
\(result.taskDescription) finished in \(result.duration)
11881188
\(result.command)

Sources/sourcekit-lsp/SourceKitLSP.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,8 @@ struct SourceKitLSP: AsyncParsableCommand {
208208

209209
@Flag(
210210
help: """
211-
Show which index tasks are currently running in the indexing work done progress. \
212-
This produces a multi-line work done progress, which might render incorrectly depending in the editor.
211+
When reporting index progress, show the currently running index tasks in addition to the task's count. \
212+
This produces a multi-line work done progress, which might render incorrectly, depending on the editor.
213213
"""
214214
)
215215
var experimentalShowActivePreparationTasksInProgress = false

0 commit comments

Comments
 (0)