File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Sources/Testing/Events/Recorder Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -119,8 +119,8 @@ extension Event.HumanReadableOutputRecorder {
119119 guard let graph else {
120120 return ( 0 , 0 , 0 , 0 , " " )
121121 }
122- let errorIssueCount = graph. compactMap { $0 . value? . issueCount [ . error] } . reduce ( into: 0 , += )
123- let warningIssueCount = graph. compactMap { $0 . value? . issueCount [ . warning] } . reduce ( into: 0 , += )
122+ let errorIssueCount = graph. compactMap ( \ . value? . issueCount [ . error] ) . reduce ( into: 0 , += )
123+ let warningIssueCount = graph. compactMap ( \ . value? . issueCount [ . warning] ) . reduce ( into: 0 , += )
124124 let knownIssueCount = graph. compactMap ( \. value? . knownIssueCount) . reduce ( into: 0 , += )
125125 let totalIssueCount = errorIssueCount + warningIssueCount + knownIssueCount
126126
You can’t perform that action at this time.
0 commit comments