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 {
119
119
guard let graph else {
120
120
return ( 0 , 0 , 0 , 0 , " " )
121
121
}
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 , += )
124
124
let knownIssueCount = graph. compactMap ( \. value? . knownIssueCount) . reduce ( into: 0 , += )
125
125
let totalIssueCount = errorIssueCount + warningIssueCount + knownIssueCount
126
126
You can’t perform that action at this time.
0 commit comments