summaryrefslogtreecommitdiffhomepage
path: root/tools/github/reviver
diff options
context:
space:
mode:
authorIan Lewis <ianlewis@google.com>2021-05-12 18:06:38 -0700
committergVisor bot <gvisor-bot@google.com>2021-05-12 18:09:03 -0700
commite6a9780f3cca047577db3fe57eeb0d7444030711 (patch)
tree581cfd880b7de66c2509ec70233654c79b15f967 /tools/github/reviver
parent29f4b71eb3db3d082735bd4316006d6bcc3230a1 (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/reviver')
-rw-r--r--tools/github/reviver/github.go2
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,