added a line to remove tmpPath

Signed-off-by: vikkyomkar <vikkyomkar@gmail.com>
pull/8611/head
Vikky Omkar 5 years ago committed by vikkyomkar
parent d6708667da
commit 98343643a8

@ -245,6 +245,7 @@ func (m *Manager) downloadAll(deps []*chart.Dependency) error {
destPath := filepath.Join(m.ChartPath, "charts")
tmpPath := filepath.Join(m.ChartPath, "tmpcharts")
defer os.RemoveAll(tmpPath)
// Create 'charts' directory if it doesn't already exist.
if fi, err := os.Stat(destPath); err != nil {

Loading…
Cancel
Save