Skip to content

Commit 7e9b8d6

Browse files
authored
Merge pull request #175 from mocyuto/patch-1
2 parents 0a9b8e6 + a3f353a commit 7e9b8d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tagpr.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ func (tp *tagpr) defaultBranch() (string, error) {
542542
// So use `git remote show origin` for detecting default branch
543543
show, _, err := tp.c.Git("remote", "show", tp.remoteName)
544544
if err != nil {
545-
return "", fmt.Errorf("failed to detect defaut branch: %w", err)
545+
return "", fmt.Errorf("failed to detect default branch: %w", err)
546546
}
547547
m := headBranchReg.FindStringSubmatch(show)
548548
if len(m) < 2 {

0 commit comments

Comments
 (0)