Skip to content

Commit

Permalink
[nektos#2056] Linting fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
GROwen committed Oct 23, 2023
1 parent f1e6d23 commit a6325c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/common/git/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ func FindGitRef(ctx context.Context, file string) (string, error) {

if refName != "" {
return refName, err
} else {
return "", fmt.Errorf("Failed to identify preference (tag/branch) for the checked-out revision '%s'", headRef.Hash().String())
}

return "", fmt.Errorf("Failed to identify preference (tag/branch) for the checked-out revision '%s'", headRef.Hash().String())
}

// FindGithubRepo get the repo
Expand Down

0 comments on commit a6325c2

Please sign in to comment.