1
0
mirror of https://github.com/mgechev/revive.git synced 2025-12-01 22:30:16 +02:00

Update formatters

This commit is contained in:
mgechev
2018-01-23 18:19:06 -08:00
parent 5c6de19f89
commit 25cfe541d2
6 changed files with 13 additions and 8 deletions

View File

@@ -40,7 +40,7 @@ func main() {
panic(err)
}
var formatter formatter.CLIFormatter
var formatter formatter.JSONFormatter
output, err := formatter.Format(failures)
if err != nil {
panic(err)