From 5488198d6d2b27c0f0ee995b788e9e6e571be2fa Mon Sep 17 00:00:00 2001 From: Shane Starcher Date: Tue, 10 Sep 2019 20:47:00 -0700 Subject: [PATCH] fix: allow empty pattern matching and move on (#827) Ref #778 --- pkg/state/state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/state/state.go b/pkg/state/state.go index b8b50b1d..81dbe812 100644 --- a/pkg/state/state.go +++ b/pkg/state/state.go @@ -1348,7 +1348,7 @@ func (st *HelmState) ExpandedHelmfiles() ([]SubHelmfileSpec, error) { return nil, err } if len(matches) == 0 { - return nil, fmt.Errorf("no file matching %s found", hf.Path) + continue } for _, match := range matches { newHelmfile := hf