We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51ab478 commit 23ff781Copy full SHA for 23ff781
sshare.go
@@ -50,7 +50,7 @@ func ParseFairShareMetrics() map[string]*FairShareMetrics {
50
for _, line := range lines {
51
if ! strings.HasPrefix(line," ") {
52
if strings.Contains(line,"|") {
53
- account := strings.Split(line,"|")[0]
+ account := strings.Trim(strings.Split(line,"|")[0]," ")
54
_,key := accounts[account]
55
if !key {
56
accounts[account] = &FairShareMetrics{0}
0 commit comments