Signed-off-by: GitHub <noreply@github.com>
pull/10834/head
stan-sz 3 years ago committed by GitHub
parent a7e4ae752a
commit 6c55d9e3e9

@ -751,13 +751,13 @@ func (c *ChartPathOptions) LocateChart(name string, settings *cli.EnvSettings) (
} }
filename, _, err := dl.DownloadTo(name, version, settings.RepositoryCache) filename, _, err := dl.DownloadTo(name, version, settings.RepositoryCache)
if err == nil { if err != nil {
return "", err
}
lname, err := filepath.Abs(filename) lname, err := filepath.Abs(filename)
if err != nil { if err != nil {
return filename, err return filename, err
} }
return lname, nil return lname, nil
} else {
return "", err
}
} }

Loading…
Cancel
Save