|
|
@ -63,11 +63,8 @@ func (d *Dependency) List(chartpath string, out io.Writer) error {
|
|
|
|
|
|
|
|
|
|
|
|
if c.Metadata.Dependencies == nil {
|
|
|
|
if c.Metadata.Dependencies == nil {
|
|
|
|
_, err := fmt.Fprintf(out, "WARNING: no dependencies at %s\n", filepath.Join(chartpath, "charts"))
|
|
|
|
_, err := fmt.Fprintf(out, "WARNING: no dependencies at %s\n", filepath.Join(chartpath, "charts"))
|
|
|
|
if err != nil {
|
|
|
|
|
|
|
|
return err
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
d.printDependencies(chartpath, out, c)
|
|
|
|
d.printDependencies(chartpath, out, c)
|
|
|
|
_, err = fmt.Fprintln(out)
|
|
|
|
_, err = fmt.Fprintln(out)
|
|
|
|