Skip to content

Commit

Permalink
chore: return success on no issues
Browse files Browse the repository at this point in the history
Signed-off-by: AlexsJones <alexsimonjones@gmail.com>
  • Loading branch information
AlexsJones committed Mar 27, 2023
1 parent 06fb807 commit 009f47c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/analyze/analyze.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 009f47c

Please sign in to comment.