Skip to content

Commit

Permalink
Normalize to integers when filtering by PR number
Browse files Browse the repository at this point in the history
  • Loading branch information
BanzaiMan committed May 18, 2020
1 parent 8b5b404 commit 270969c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/travis/cli/history.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ def run
private

def display?(build)
return build.pr_number == pull_request if pull_request
return build.branch_info == branch if branch
return build.pr_number == pull_request.to_i if pull_request
return build.branch_info == branch if branch
true
end

Expand Down

0 comments on commit 270969c

Please sign in to comment.