Skip to content

Commit

Permalink
Merge pull request #309 from shopetan/master
Browse files Browse the repository at this point in the history
Remove BlobHRef from struct of github.CheckRunAnnotation
  • Loading branch information
haya14busa committed Sep 21, 2019
2 parents 265c5d5 + 6f823e9 commit b61b258
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion doghouse/server/doghouse.go
Expand Up @@ -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()),
Expand Down
1 change: 0 additions & 1 deletion doghouse/server/doghouse_test.go
Expand Up @@ -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"),
Expand Down

0 comments on commit b61b258

Please sign in to comment.