Skip to content

Commit

Permalink
fix: output statistics in lovely, markdown or json format (#1790) (#1840
Browse files Browse the repository at this point in the history
)
  • Loading branch information
amandahla authored Jul 27, 2022
1 parent 33c8be3 commit 23f40f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/tfsec/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func Root() *cobra.Command {
for _, result := range results {
statistics = executor.AddStatisticsCount(statistics, result)
}
return statistics.PrintStatisticsTable("lovely", cmd.ErrOrStderr())
return statistics.PrintStatisticsTable(format, cmd.ErrOrStderr())
}

exitCode := getDetailedExitCode(metrics)
Expand Down

0 comments on commit 23f40f3

Please sign in to comment.