Skip to content

Commit a858d30

Browse files
committed
Address review comments on #1329
1 parent 5d75e14 commit a858d30

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
@@ -1185,7 +1185,7 @@ extension SourceKitLSPServer {
11851185
nonisolated func indexTaskDidProduceResult(_ result: IndexProcessResult) {
11861186
self.sendNotificationToClient(
11871187
LogMessageNotification(
1188-
type: result.failed ? .info : .warning,
1188+
type: result.failed ? .warning : .info,
11891189
message: """
11901190
\(result.taskDescription) finished in \(result.duration)
11911191
\(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)