Skip to content

Commit e08bada

Browse files
author
Rob Gonnella
committed
chore: fixes comment on IsErrBranchProtected func
1 parent 9910e2d commit e08bada

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/git/branch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ type ErrBranchProtected struct {
6666
BranchName string
6767
}
6868

69-
// IsErrBranchAlreadyExists checks if an error is an ErrBranchAlreadyExists.
69+
// IsErrBranchProtected checks if an error is an ErrBranchProtected.
7070
func IsErrBranchProtected(err error) bool {
7171
_, ok := err.(ErrBranchProtected)
7272
return ok

0 commit comments

Comments
 (0)