Skip to content

Commit

Permalink
feat: add support for latest version of probot (#665)
Browse files Browse the repository at this point in the history
Co-authored-by: Shine Lee <[email protected]>
  • Loading branch information
tenshiAMD and shine2lay authored Mar 2, 2023
1 parent 0d4b68e commit 5aaecd0
Show file tree
Hide file tree
Showing 3 changed files with 494 additions and 646 deletions.
2 changes: 1 addition & 1 deletion lib/mergeable.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class Mergeable {

// version 2 of mergeable.
flex (robot) {
robot.on('*', async pContext => {
robot.onAny(async pContext => {
const context = new Context(pContext)
logEventReceived(context)
statEventReceived(context)
Expand Down
Loading

0 comments on commit 5aaecd0

Please sign in to comment.