mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 20:19:19 +00:00
auto_review_pr.rb: Remove an unused variable
Follow-up: https://github.com/ruby/ruby/pull/15116
This commit is contained in:
parent
a7a4bb93fc
commit
2b6580d44a
@ -42,8 +42,6 @@ class AutoReviewPR
|
||||
end
|
||||
|
||||
def review(pr_number)
|
||||
comment_body = "Please file a pull request to ruby/foo instead."
|
||||
|
||||
# Fetch the list of files changed by the PR
|
||||
changed_files = @client.get("/repos/#{REPO}/pulls/#{pr_number}/files").map { it.fetch(:filename) }
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user