style: remove unnecessary break

Signed-off-by: Jesse Simpson <jesse.simpson36@gmail.com>
This commit is contained in:
Jesse Simpson
2025-03-16 20:45:11 -04:00
parent 3cc4cb60ba
commit cdcf1bc601

View File

@@ -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
}