Skip to content

Commit

Permalink
Merge pull request #929 from cloudflare/typo
Browse files Browse the repository at this point in the history
Fix a typo
  • Loading branch information
prymitive authored Mar 25, 2024
2 parents 703d83a + 35f2f8a commit 355e620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/reporter/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ func reportToGitHubComment(headCommit string, rep Report) *github.PullRequestCom
var msgPrefix, msgSuffix string
reportLine, srcLine := moveReportedLine(rep)
if reportLine != srcLine {
msgPrefix = fmt.Sprintf("Problem reported on unmodified line %d, annotation moved here: ", srcLine)
msgPrefix = fmt.Sprintf("Problem reported on unmodified line %d, comment moved here: ", srcLine)
}
if rep.Problem.Details != "" {
msgSuffix = "\n\n" + rep.Problem.Details
Expand Down

0 comments on commit 355e620

Please sign in to comment.