Skip to content

Commit

Permalink
Redudant type conversion.
Browse files Browse the repository at this point in the history
  • Loading branch information
i-sevostyanov committed Oct 1, 2019
1 parent af0a9cb commit 1cf1421
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion diff/parse.go
Expand Up @@ -225,7 +225,7 @@ func parseExtendedHeader(r *bufio.Reader) []string {
break
}
line, _ := readline(r)
es = append(es, string(line))
es = append(es, line)
}
}
return es
Expand Down
2 changes: 1 addition & 1 deletion doghouse/server/doghouse.go
Expand Up @@ -240,7 +240,7 @@ func (ch *Checker) rawPullRequestDiff(ctx context.Context, pr int) ([]byte, erro
if err != nil {
return nil, err
}
return []byte(d), nil
return d, nil
}

func annotationsToCheckResults(as []*doghouse.Annotation) []*reviewdog.CheckResult {
Expand Down

0 comments on commit 1cf1421

Please sign in to comment.