Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Commit

Permalink
fix empty space member count
Browse files Browse the repository at this point in the history
  • Loading branch information
foosinn committed May 20, 2019
1 parent 0551281 commit 06a9596
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions status.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ func loadTemplates() (*template.Template, error) {
return value
},
"csvlist": func(csv string) []string {
if csv == "" {
return []string{}
}
return strings.Split(csv, ", ")
},
"jsonize": func(mustType string, data interface{}) string {
Expand Down

0 comments on commit 06a9596

Please sign in to comment.