Skip to content

Commit

Permalink
Merge pull request #1466 from dirtyhabits97/fix/message-aggregator-ru…
Browse files Browse the repository at this point in the history
…by-3.1

Add keyword arguments in MessageAggregator.aggregate for Ruby 3.X
  • Loading branch information
manicmaniac committed Jan 29, 2024
2 parents 9ba87e9 + aec739d commit bd89c4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
## master

<!-- Your comment below here -->
* Add keyword arguments to MessageAggregator.aggregate for Ruby 3.X compatibility - [@dirtyhabits97](https://github.com/dirtyhabits97) [#1466](https://github.com/danger/danger/pull/1466)
<!-- Your comment above here -->

## 9.4.1
Expand Down
4 changes: 2 additions & 2 deletions lib/danger/danger_core/message_aggregator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

module Danger
class MessageAggregator
def self.aggregate(*args)
new(*args).aggregate
def self.aggregate(*args, **kwargs)
new(*args, **kwargs).aggregate
end

def initialize(warnings: [],
Expand Down

0 comments on commit bd89c4d

Please sign in to comment.