Prints the amount of tickets found

This commit is contained in:
Miguel de la Cruz 2020-02-29 14:27:36 +01:00
parent 9ca9c4d988
commit 067f8360b5

View file

@ -95,6 +95,9 @@ func RunGreps(dir string, strs, exts []string, caseInsensitive bool) ([]*model.T
tickets = append(tickets, results...) tickets = append(tickets, results...)
} }
tickets = model.RemoveDuplicateTickets(tickets)
fmt.Printf("%d matches found\n", len(tickets))
return tickets, nil return tickets, nil
} }