Fix format error (#27963)

This commit is contained in:
Lunny Xiao 2023-11-08 21:50:20 +08:00 committed by GitHub
parent f48a863b99
commit 69d98f83f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -850,7 +850,7 @@ func getRefName(ctx *Base, repo *Repository, pathType RepoRefType) string {
return getRefNameFromPath(ctx, repo, path, func(s string) bool {
b, exist, err := git_model.FindRenamedBranch(ctx, repo.Repository.ID, s)
if err != nil {
log.Error("FindRenamedBranch", err)
log.Error("FindRenamedBranch: %v", err)
return false
}