Replace em-dashes with hyphens in code comments

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Kynan Ware 2026-05-06 17:33:29 -06:00
parent 0c48bd0981
commit eff9d48f6e
3 changed files with 4 additions and 4 deletions

View file

@ -49,7 +49,7 @@ type IssueFeatures struct {
// - The requestReviewsByLogin mutation
ApiActorsSupported bool
// TODO IssueRelationshipsCleanup remove when GHES 3.18 support ends (~October 2026)
// TODO IssueRelationshipsCleanup - remove when GHES 3.18 support ends (~October 2026)
// IssueRelationshipsSupported indicates the host supports issue
// relationships (blocked-by/blocking). Available on github.com and
// GHES 3.19+. Issue types and sub-issues are GA on all supported GHES
@ -168,7 +168,7 @@ func (d *detector) IssueFeatures() (IssueFeatures, error) {
}
features := IssueFeatures{
ApiActorsSupported: false, // TODO ApiActorsSupported actor-based mutations unavailable on GHES
ApiActorsSupported: false, // TODO ApiActorsSupported - actor-based mutations unavailable on GHES
}
// Detect issue relationship support (GHES 3.19+) via schema introspection.

View file

@ -467,7 +467,7 @@ func applyEditParent(client *api.Client, baseRepo ghrepo.Interface, issue *api.I
hostname := baseRepo.RepoHost()
if parentRef == "" {
// Remove parent use the parent's ID from the fetched issue data
// Remove parent - use the parent's ID from the fetched issue data
if issue.Parent == nil {
return nil // no parent to remove
}

View file

@ -226,7 +226,7 @@ func printHumanIssuePreview(opts *ViewOptions, baseRepo ghrepo.Interface, issue
// Header (Title and State)
fmt.Fprintf(out, "%s %s#%d\n", cs.Bold(issue.Title), ghrepo.FullName(baseRepo), issue.Number)
// State line include issue type prefix when present
// State line - include issue type prefix when present
stateLine := issueStateTitleWithColor(cs, issue)
if issue.IssueType != nil {
stateLine = cs.Muted(issue.IssueType.Name) + " · " + stateLine