diff --git a/cmd/analyze/analyze.go b/cmd/analyze/analyze.go index 986afbf520..43570cd225 100644 --- a/cmd/analyze/analyze.go +++ b/cmd/analyze/analyze.go @@ -87,6 +87,9 @@ var AnalyzeCmd = &cobra.Command{ var bar *progressbar.ProgressBar if len(*analysisResults) > 0 { bar = progressbar.Default(int64(len(*analysisResults))) + } else { + color.Green("{ \"status\": \"OK\" }") + os.Exit(0) } // This variable is used to store the results that will be printed