You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If err is nil, stats is simply overwritten instead of being merged. The for loop implies that gocognitshould accept several packages, and in fact it does, but only reports stats for the last package, ignoring the rest.
I think, it should either merge the stats or print an error telling that it only supports one path.
The text was updated successfully, but these errors were encountered:
gocognit/cmd/gocognit/main.go
Lines 136 to 149 in 88f6fa8
If
err
isnil
,stats
is simply overwritten instead of being merged. Thefor
loop implies thatgocognit
should accept several packages, and in fact it does, but only reports stats for the last package, ignoring the rest.I think, it should either merge the stats or print an error telling that it only supports one path.
The text was updated successfully, but these errors were encountered: