summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2025-11-09 07:34:18 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2025-11-09 07:34:32 -0800
commit2b6580d44aef3f867321d1f8b346c500e51a4344 (patch)
treec9cc4a894c04a82629534c5fe1831fb7ffadd85d
parenta7a4bb93fc37b3d4ad5a7b2147c9adf952928342 (diff)
auto_review_pr.rb: Remove an unused variable
Follow-up: https://github.com/ruby/ruby/pull/15116
-rwxr-xr-xtool/auto_review_pr.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/tool/auto_review_pr.rb b/tool/auto_review_pr.rb
index a3494e4c1a..f434a4f92a 100755
--- a/tool/auto_review_pr.rb
+++ b/tool/auto_review_pr.rb
@@ -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) }