diff --git a/pkg/downloader/manager.go b/pkg/downloader/manager.go index 5e1e387fd..78d91ec67 100644 --- a/pkg/downloader/manager.go +++ b/pkg/downloader/manager.go @@ -157,7 +157,7 @@ func (m *Manager) Update() error { req := c.Metadata.Dependencies // The nil check determines whether the 'dependencies:' key exists in a Chart.yaml. - // The len(chartDeps) < 1 check determines whether the 'dependencies' key is empty in a Chart.yaml. + // The len(req) < 1 check determines whether the 'dependencies' key is empty in a Chart.yaml. if req == nil || len(req) < 1 { fmt.Fprintln(m.Out, "No chart dependencies found") }