diff options
author | Ian Lewis <ianlewis@google.com> | 2021-05-12 18:06:38 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-05-12 18:09:03 -0700 |
commit | e6a9780f3cca047577db3fe57eeb0d7444030711 (patch) | |
tree | 581cfd880b7de66c2509ec70233654c79b15f967 /tools/github | |
parent | 29f4b71eb3db3d082735bd4316006d6bcc3230a1 (diff) |
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
Diffstat (limited to 'tools/github')
-rw-r--r-- | tools/github/reviver/github.go | 2 |
1 files changed, 1 insertions, 1 deletions
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, |