mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-04 02:22:09 +02:00
Sync repos before update deps (#660)
This commit is contained in:
@@ -30,6 +30,10 @@ func (r *Run) askForConfirmation(msg string) bool {
|
||||
func (r *Run) Deps(c DepsConfigProvider) []error {
|
||||
r.helm.SetExtraArgs(argparser.GetArgs(c.Args(), r.state)...)
|
||||
|
||||
if errs := r.ctx.SyncReposOnce(r.state, r.helm); errs != nil && len(errs) > 0 {
|
||||
return errs
|
||||
}
|
||||
|
||||
return r.state.UpdateDeps(r.helm)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user