Skip to content

Commit

Permalink
Merge pull request #351 from Suban05/350
Browse files Browse the repository at this point in the history
#350 NoMethodError: undefined method `[]` for nil
  • Loading branch information
yegor256 authored Sep 24, 2024
2 parents 0a37cb1 + ac386f3 commit 2c579f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ GEM
net-http
faraday-retry (2.2.1)
faraday (~> 2.0)
fbe (0.0.69)
fbe (0.0.70)
backtrace (> 0)
decoor (> 0)
factbase (> 0)
Expand Down
2 changes: 1 addition & 1 deletion judges/github-events/github-events.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def self.comments_info(pr)
issue_comments.count { |comment| comment[:user][:id] != pr[:user][:id] },
comments_appreciated: count_appreciated_comments(pr, issue_comments, code_comments),
comments_resolved: Fbe.github_graph.resolved_conversations(
pr[:base][:repo][:owner][:login], pr[:base][:repo][:name], pr[:number]
pr[:base][:repo][:full_name].split('/').first, pr[:base][:repo][:name], pr[:number]
).count
}
end
Expand Down

0 comments on commit 2c579f6

Please sign in to comment.