auto_review_pr.rb: Remove an unused variable

Follow-up: https://github.com/ruby/ruby/pull/15116
This commit is contained in:
Takashi Kokubun 2025-11-09 07:34:18 -08:00
parent a7a4bb93fc
commit 2b6580d44a

View File

@ -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) }