Fix format
This commit is contained in:
parent
73f9a153d7
commit
7f0e5cd46e
3 changed files with 6 additions and 6 deletions
|
@ -8,16 +8,16 @@ import (
|
|||
|
||||
func UsersReportCmd() *cobra.Command {
|
||||
return &cobra.Command{
|
||||
Use: "users",
|
||||
Use: "users",
|
||||
Short: "A users report",
|
||||
Args: cobra.NoArgs,
|
||||
Run: withApp(userReportCmdF),
|
||||
Args: cobra.NoArgs,
|
||||
Run: withApp(userReportCmdF),
|
||||
}
|
||||
}
|
||||
|
||||
func ReportCmd() *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "report",
|
||||
Use: "report",
|
||||
Short: "Generates reports on campaign information",
|
||||
}
|
||||
|
||||
|
|
|
@ -3,10 +3,10 @@ package model
|
|||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"os"
|
||||
"strings"
|
||||
"text/tabwriter"
|
||||
"text/template"
|
||||
"os"
|
||||
|
||||
"github.com/fatih/color"
|
||||
)
|
||||
|
|
|
@ -16,7 +16,7 @@ func (c *Campaign) PrintUserReport() {
|
|||
user := ticket.GithubAssignee
|
||||
if user != "" {
|
||||
if count, ok := userTickets[user]; ok {
|
||||
userTickets[user] = count+1
|
||||
userTickets[user] = count + 1
|
||||
} else {
|
||||
userTickets[user] = 1
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue