Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mocyuto authored Jul 10, 2024
1 parent 0a9b8e6 commit a3f353a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tagpr.go
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ func (tp *tagpr) defaultBranch() (string, error) {
// So use `git remote show origin` for detecting default branch
show, _, err := tp.c.Git("remote", "show", tp.remoteName)
if err != nil {
return "", fmt.Errorf("failed to detect defaut branch: %w", err)
return "", fmt.Errorf("failed to detect default branch: %w", err)
}
m := headBranchReg.FindStringSubmatch(show)
if len(m) < 2 {
Expand Down

0 comments on commit a3f353a

Please sign in to comment.