Skip to content

Commit

Permalink
#51 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Aug 2, 2024
1 parent fc1b029 commit 333d422
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/fbe/award.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ class Fbe::Award
# Ctor.
# @param [String] query The query with the policy
# @param [String] judge The name of the judge
def initialize(query = nil, judge: $judge, fb: Fbe.fb, global: $global, options: $options, loog: $loog)
@query = Fbe.pmp(fb:, global:, options:, loog:).hr.send(judge.gsub('-', '_')) if query.nil?
def initialize(query = nil, judge: $judge, global: $global, options: $options, loog: $loog)
query = Fbe.pmp(fb: Fbe.fb, global:, options:, loog:).hr.send(judge.gsub('-', '_')) if query.nil?
@query = query
end

Expand Down

0 comments on commit 333d422

Please sign in to comment.