mirror of
https://github.com/helm/helm.git
synced 2026-08-08 17:11:18 +00:00
style: remove unnecessary break
Signed-off-by: Jesse Simpson <jesse.simpson36@gmail.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user