style: remove unnecessary break

Signed-off-by: Jesse Simpson <jesse.simpson36@gmail.com>
pull/13586/head
Jesse Simpson 6 months ago
parent 3cc4cb60ba
commit cdcf1bc601
No known key found for this signature in database
GPG Key ID: 237495C89AB0AAFC

@ -376,9 +376,6 @@ func cleanupExecError(filename string, err error) error {
fileLocations := []TraceableError{}
maxIterations := 100
for i := 0; i < maxIterations && current != nil; i++ {
if current == nil {
break
}
if i == maxIterations-1 {
return err
}

Loading…
Cancel
Save