Skip to content

Commit 0aefd85

Browse files
committed
style(doctor): use s.Error for "No fork point stored" message
Consistent with other simple issue messages in checkBranch that use the style package for formatting.
1 parent 409e919 commit 0aefd85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/doctor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ func checkBranch(g *git.Git, cfg *config.Config, s *style.Style, branch string,
147147
result.fixMsg = fmt.Sprintf("set fork point to %s", git.AbbrevSHA(newFP))
148148
return result
149149
}
150-
result.issues = append(result.issues, "No fork point stored")
150+
result.issues = append(result.issues, s.Error("No fork point stored"))
151151
return result
152152
}
153153

0 commit comments

Comments
 (0)