Skip to content

Commit

Permalink
actually skip unverifiable files
Browse files Browse the repository at this point in the history
Signed-off-by: Fabian Jucker <fabianju@gmx.ch>
(cherry picked from commit 6f0064d)
  • Loading branch information
juckerf authored and Matthew Fisher committed Oct 12, 2021
1 parent 57ecc25 commit 96cdab4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/downloader/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,8 @@ func (m *Manager) safeMoveDeps(deps []*chart.Dependency, source, dest string) er
fname := filepath.Join(dest, file.Name())
ch, err := loader.LoadFile(fname)
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
if isLocalDependency[ch.Name()] {
Expand Down

0 comments on commit 96cdab4

Please sign in to comment.