fix: pipeline errors

This commit is contained in:
Tim Riedl 2024-04-11 17:26:43 +02:00
parent 12bed27f29
commit 1a25e68713
2 changed files with 4 additions and 1 deletions

View File

@ -258,7 +258,7 @@ func GetLoginByEnvVar() *config.Login {
serverURL, err := utils.ValidateAuthenticationMethod(giteaInstanceUrl, token, "", "", false, "", "")
if err != nil {
fmt.Errorf("%v", err)
_ = fmt.Errorf("%v", err)
}
login := &config.Login{

View File

@ -1,3 +1,6 @@
// Copyright 2020 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package utils
import (