Skip to content

Commit

Permalink
fix: missing else statement (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonardoLordelloFontes authored Dec 18, 2024
1 parent fabbe18 commit 241169c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,11 @@ func preRun(pluginName string, cmd *cobra.Command, args []string) error {
if validateVar {
channels.WaitGroup.Add(1)
go processValidationAndScoreWithValidation(engine)
} else {
channels.WaitGroup.Add(1)
go processScoreWithoutValidation(engine)
}

channels.WaitGroup.Add(1)
go processScoreWithoutValidation(engine)

return nil
}

Expand Down

0 comments on commit 241169c

Please sign in to comment.