From 6f823e9888960903c049c232981286645d8e010c Mon Sep 17 00:00:00 2001 From: "Shohei.K" Date: Fri, 20 Sep 2019 19:48:36 +0900 Subject: [PATCH] Remove variable from struct of github.CheckRunAnnotation --- doghouse/server/doghouse.go | 1 - doghouse/server/doghouse_test.go | 1 - 2 files changed, 2 deletions(-) diff --git a/doghouse/server/doghouse.go b/doghouse/server/doghouse.go index c631fa935e..422c24a7f4 100644 --- a/doghouse/server/doghouse.go +++ b/doghouse/server/doghouse.go @@ -205,7 +205,6 @@ func (ch *Checker) buildFindingLink(c *reviewdog.FilteredCheck) string { func (ch *Checker) toCheckRunAnnotation(c *reviewdog.FilteredCheck) *github.CheckRunAnnotation { a := &github.CheckRunAnnotation{ Path: github.String(c.Path), - BlobHRef: github.String(ch.brobHRef(c.Path)), StartLine: github.Int(c.Lnum), EndLine: github.Int(c.Lnum), AnnotationLevel: github.String(ch.annotationLevel()), diff --git a/doghouse/server/doghouse_test.go b/doghouse/server/doghouse_test.go index 332c9a4723..b797bda7e6 100644 --- a/doghouse/server/doghouse_test.go +++ b/doghouse/server/doghouse_test.go @@ -117,7 +117,6 @@ func TestCheck_OK(t *testing.T) { wantAnnotaions := []*github.CheckRunAnnotation{ { Path: github.String("sample.new.txt"), - BlobHRef: github.String("http://github.com/haya14busa/reviewdog/blob/1414/sample.new.txt"), StartLine: github.Int(2), EndLine: github.Int(2), AnnotationLevel: github.String("warning"),