Skip to content

Commit

Permalink
style: renamed i variable for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
jessesimpson36 committed Dec 23, 2024
1 parent 19041d7 commit 3ae822a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/engine/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -422,11 +422,11 @@ func cleanupExecError(filename string, err error) error {
}

finalErrorString := ""
for _, i := range fileLocations {
if i.message == "" {
for _, fileLocation := range fileLocations {
if fileLocation.message == "" {
continue
}
finalErrorString = finalErrorString + i.String()
finalErrorString = finalErrorString + fileLocation.String()
}

return fmt.Errorf("NEW ERROR FORMAT: \n%s\n\n\nORIGINAL ERROR:\n%s", finalErrorString, err.Error())
Expand Down

0 comments on commit 3ae822a

Please sign in to comment.