Skip to content

Commit

Permalink
#162 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Oct 15, 2024
1 parent ad171f6 commit 2b8c0ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion judges/add-user-names/add-user-names.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@
require 'fbe/conclude'

Fbe.conclude do
on '(and (eq where "github") (exists who) (not (exists who_name)) (not (exists who_noname)))'
on '(and
(or (eq where "github") (not (exists where)))
(exists who)
(not (exists who_name)) (not (exists who_noname)))'
consider do |f|
n = Fbe.octo.user_name_by_id(f.who)
f.who_name = n
Expand Down
1 change: 0 additions & 1 deletion tests/simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@
what: reconciliation
when: 2024-07-01T22:22:22.8492Z
who: 6305016
where: github
since: 2024-06-01T22:22:22.8492Z
awarded: 220
payout: 129
Expand Down

0 comments on commit 2b8c0ad

Please sign in to comment.