Skip to content

Commit 28675c2

Browse files
committedDec 19, 2024··
show progress
1 parent a7ce442 commit 28675c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎judges/find-all-issues/find-all-issues.rb

+3
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@
4040
rescue Octokit::NotFound
4141
next 0
4242
end
43+
total = 0
4344
Fbe.octo.search_issues("repo:#{repo} type:issue created:<=#{after.iso8601[0..9]}")[:items].each do |json|
45+
total += 1
4446
f =
4547
Fbe.if_absent do |ff|
4648
ff.where = 'github'
@@ -53,6 +55,7 @@
5355
f.who = json.dig(:user, :id)
5456
f.details = "The issue #{Fbe.issue(f)} has been opened by #{Fbe.who(f)}."
5557
end
58+
$loog.info("Checked #{total} issues in #{repo}")
5659
issue
5760
end
5861
end

0 commit comments

Comments
 (0)
Please sign in to comment.