style: make linter happy

This commit is contained in:
Tom Neuber 2024-06-19 22:07:51 +02:00
parent 886c9dffa8
commit 20a47d9abc
Signed by: tom
GPG key ID: F17EFE4272D89FF6
6 changed files with 34 additions and 6 deletions

View file

@ -110,6 +110,7 @@ func (p *Payload) GetRepo(repoURL, user, password string) (err error) {
func (p *Payload) IsVersionCommitted(branch string) bool {
refName := plumbing.NewBranchReferenceName(branch)
ref, err := p.Repository.Reference(refName, false)
if err != nil {
return false