We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebbf1b0 commit 30a5c6cCopy full SHA for 30a5c6c
pkg/downloader/manager.go
@@ -216,12 +216,15 @@ func (m *Manager) downloadAll(deps []*chartutil.Dependency) error {
216
return fmt.Errorf("%q is not a directory", destPath)
217
}
218
219
- fmt.Fprintf(m.Out, "Saving %d charts\n", len(deps))
+ fmt.Fprintln(m.Out, "Deleting outdated charts")
220
for _, dep := range deps {
221
if err := m.safeDeleteDep(dep.Name, destPath); err != nil {
222
return err
223
224
+ }
225
226
+ fmt.Fprintf(m.Out, "Saving %d charts\n", len(deps))
227
+ for _, dep := range deps {
228
if strings.HasPrefix(dep.Repository, "file://") {
229
if m.Debug {
230
fmt.Fprintf(m.Out, "Archiving %s from repo %s\n", dep.Name, dep.Repository)
0 commit comments