Skip to content

Commit

Permalink
Ignore staticcheck's deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
haya14busa committed Jun 29, 2020
1 parent aeef531 commit b117ef4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doghouse/server/doghouse.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ func (ch *Checker) Check(ctx context.Context) (*doghouse.CheckResponse, error) {

results := annotationsToCheckResults(ch.req.Annotations)
filterMode := ch.req.FilterMode
//lint:ignore SA1019 Need to support OutsideDiff for backward compatibility.
if ch.req.PullRequest == 0 || ch.req.OutsideDiff {
// If it's not Pull Request run, do not filter results by diff regardless
// of the filter mode.
Expand Down

0 comments on commit b117ef4

Please sign in to comment.