Skip to content

Commit 4c35491

Browse files
authored
Only show command output in verbose mode (#7078)
1 parent 8b41d98 commit 4c35491

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Sources/Build/BuildOperationBuildSystemDelegateHandler.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -790,8 +790,10 @@ final class BuildOperationBuildSystemDelegateHandler: LLBuildBuildSystemDelegate
790790
queue.async {
791791
if let buffer = self.nonSwiftMessageBuffers[command.name] {
792792
self.progressAnimation.clear()
793-
self.outputStream.send(buffer)
794-
self.outputStream.flush()
793+
if self.logLevel.isVerbose {
794+
self.outputStream.send(buffer)
795+
self.outputStream.flush()
796+
}
795797
self.nonSwiftMessageBuffers[command.name] = nil
796798
}
797799
}

0 commit comments

Comments
 (0)