Skip to content

Commit

Permalink
Merge pull request #11529 from tobymao/1844-auction-all-pass
Browse files Browse the repository at this point in the history
[1844, 1880] Handle all pass during auciton
  • Loading branch information
crericha authored Feb 9, 2025
2 parents 7fdf402 + 86150c7 commit 09c9c31
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/engine/step/selection_auction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,14 @@ def initial_auction_entity
@companies.first
end

def resolve_bids
if @auctioning && @active_bidders.none? && @bids[auctioning].empty?
all_passed!
else
super
end
end

private

def add_bid(bid)
Expand Down

0 comments on commit 09c9c31

Please sign in to comment.