Merge pull request #12166 from yardenshoham/typo

chore: fix a typo in `manager.go`
pull/12174/head
Matt Farina 2 years ago committed by GitHub
commit 55b58c08df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -248,7 +248,7 @@ func (m *Manager) downloadAll(deps []*chart.Dependency) error {
destPath := filepath.Join(m.ChartPath, "charts") destPath := filepath.Join(m.ChartPath, "charts")
tmpPath := filepath.Join(m.ChartPath, "tmpcharts") tmpPath := filepath.Join(m.ChartPath, "tmpcharts")
// Check if 'charts' directory is not actally a directory. If it does not exist, create it. // Check if 'charts' directory is not actually a directory. If it does not exist, create it.
if fi, err := os.Stat(destPath); err == nil { if fi, err := os.Stat(destPath); err == nil {
if !fi.IsDir() { if !fi.IsDir() {
return errors.Errorf("%q is not a directory", destPath) return errors.Errorf("%q is not a directory", destPath)

Loading…
Cancel
Save