mirror of
https://github.com/helm/helm.git
synced 2026-02-20 00:13:02 -05:00
style: consolidate for loops
Signed-off-by: Jesse Simpson <jesse.simpson36@gmail.com>
This commit is contained in:
parent
1357db4db1
commit
f09bbb8ab8
1 changed files with 1 additions and 8 deletions
|
|
@ -419,14 +419,7 @@ func cleanupExecError(filename string, err error) error {
|
|||
}
|
||||
|
||||
for i, fileLocation := range fileLocations {
|
||||
fileLocations[i] = fileLocation.FilterLocation()
|
||||
}
|
||||
|
||||
for i, fileLocation := range fileLocations {
|
||||
fileLocations[i] = fileLocation.FilterUnnecessaryWords()
|
||||
}
|
||||
|
||||
for i, fileLocation := range fileLocations {
|
||||
fileLocations[i] = fileLocation.FilterLocation().FilterUnnecessaryWords()
|
||||
if fileLocation.message == "" {
|
||||
continue
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue