Added statement on debug

Signed-off-by: Vaibhav Sharma <17532va@gmail.com>
pull/11749/head
Vaibhav Sharma 3 years ago
parent 76157c6d06
commit f54886a614

@ -85,6 +85,10 @@ type Manager struct {
// If SkipUpdate is set, this will not update the repository. // If SkipUpdate is set, this will not update the repository.
func (m *Manager) Build() error { func (m *Manager) Build() error {
c, err := m.loadChartDir() c, err := m.loadChartDir()
if c.Metadata.Dependencies == nil && m.Debug {
fmt.Print("No dependencies found to build")
return nil
}
if err != nil { if err != nil {
return err return err
} }

Loading…
Cancel
Save