From e6a9780f3cca047577db3fe57eeb0d7444030711 Mon Sep 17 00:00:00 2001 From: Ian Lewis Date: Wed, 12 May 2021 18:06:38 -0700 Subject: Fix TODO comments. Fix TODO comments referring to incorrect issue numbers. Also fix the link in issue reviver comments to include the right url fragment. PiperOrigin-RevId: 373491821 --- tools/github/reviver/github.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/github/reviver/github.go') diff --git a/tools/github/reviver/github.go b/tools/github/reviver/github.go index d9773500e..b360f0544 100644 --- a/tools/github/reviver/github.go +++ b/tools/github/reviver/github.go @@ -92,7 +92,7 @@ func (b *GitHubBugger) Activate(todo *Todo) (bool, error) { fmt.Fprintln(&comment, "There are TODOs still referencing this issue:") for _, l := range todo.Locations { fmt.Fprintf(&comment, - "1. [%s:%d](https://github.com/%s/%s/blob/HEAD/%s#%d): %s\n", + "1. [%s:%d](https://github.com/%s/%s/blob/HEAD/%s#L%d): %s\n", l.File, l.Line, b.owner, b.repo, l.File, l.Line, l.Comment) } fmt.Fprintf(&comment, -- cgit v1.2.3