From 8ea317061dcf71475267ce7b8836fe608f5d3690 Mon Sep 17 00:00:00 2001 From: amalgamm Date: Mon, 5 Feb 2024 14:34:22 +0300 Subject: [PATCH] Fix lint Signed-off-by: amalgamm --- pkg/releaser/releaser.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/releaser/releaser.go b/pkg/releaser/releaser.go index f66f604d..687074df 100644 --- a/pkg/releaser/releaser.go +++ b/pkg/releaser/releaser.go @@ -308,6 +308,9 @@ func (r *Releaser) CreateReleases() error { defer r.git.RemoveWorktree("", worktree) // nolint: errcheck packages, err := r.getListOfPackages(r.config.PackagePath) + if err != nil { + return err + } if len(packages) == 0 { return errors.Errorf("no charts found at %s", r.config.PackagePath)