Remove unneeded comments
This commit is contained in:
parent
2360320cf6
commit
9ca9c4d988
2 changed files with 1 additions and 2 deletions
|
@ -114,7 +114,6 @@ func addCmdF(cmd *cobra.Command, _ []string) {
|
|||
ErrorAndExit(cmd, err)
|
||||
}
|
||||
|
||||
// ToDo: make this skip duplicates
|
||||
cmp.Tickets = append(cmp.Tickets, tickets...)
|
||||
cmp.Tickets = model.RemoveDuplicateTickets(cmp.Tickets)
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
type Ticket struct {
|
||||
Filename string `json:"filename"`
|
||||
LineNo int `json:"line_no"`
|
||||
Text string `json:"text"` // needed??
|
||||
Text string `json:"text"`
|
||||
}
|
||||
|
||||
func RemoveDuplicateTickets(tickets []*Ticket) []*Ticket {
|
||||
|
|
Loading…
Reference in a new issue