Add suggestion to error message when dependencies missing

Signed-off-by: John Howard <howardjohn@google.com>
pull/10391/head
John Howard 4 years ago
parent 98c4ccf29b
commit ceb684e795

@ -1 +1 @@
Error: found in Chart.yaml, but missing in charts/ directory: reqsubchart2 Error: found in Chart.yaml, but missing in charts/ directory: reqsubchart2. Did you run `helm dependency build`?

@ -657,7 +657,7 @@ OUTER:
} }
if len(missing) > 0 { if len(missing) > 0 {
return errors.Errorf("found in Chart.yaml, but missing in charts/ directory: %s", strings.Join(missing, ", ")) return errors.Errorf("found in Chart.yaml, but missing in charts/ directory: %s. Did you run `helm dependency build`?", strings.Join(missing, ", "))
} }
return nil return nil
} }

Loading…
Cancel
Save