actually skip unverifiable files

Signed-off-by: Fabian Jucker <fabianju@gmx.ch>
pull/10221/head
Fabian Jucker 3 years ago
parent 9fafb4ad68
commit 6f0064d61b

@ -446,7 +446,8 @@ func (m *Manager) safeMoveDeps(deps []*chart.Dependency, source, dest string) er
fname := filepath.Join(dest, file.Name()) fname := filepath.Join(dest, file.Name())
ch, err := loader.LoadFile(fname) ch, err := loader.LoadFile(fname)
if err != nil { if err != nil {
fmt.Fprintf(m.Out, "Could not verify %s for deletion: %s (Skipping)", fname, err) fmt.Fprintf(m.Out, "Could not verify %s for deletion: %s (Skipping)\n", fname, err)
continue
} }
// local dependency - skip // local dependency - skip
if isLocalDependency[ch.Name()] { if isLocalDependency[ch.Name()] {

Loading…
Cancel
Save