Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: amalgamm <ispanteleev@gmail.com>
  • Loading branch information
amalgamm committed Feb 5, 2024
1 parent 0bc0479 commit 8ea3170
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/releaser/releaser.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8ea3170

Please sign in to comment.