remove gosimple offences

This commit is contained in:
Christoph Mertz 2021-02-19 17:01:54 +01:00
parent e4f6eae348
commit 65968cf540
7 changed files with 7 additions and 7 deletions

View file

@ -29,7 +29,7 @@ func processResults(cancel context.CancelFunc, o output.Output, validationResult
fmt.Fprint(os.Stderr, "failed writing log\n")
}
}
if success == false && exitOnError {
if !success && exitOnError {
cancel() // early exit - signal to stop searching for resources
break
}