Skip to content

Commit 5aaecd0

Browse files
tenshiAMDshine2lay
andauthored
feat: add support for latest version of probot (#665)
Co-authored-by: Shine Lee <[email protected]>
1 parent 0d4b68e commit 5aaecd0

File tree

3 files changed

+494
-646
lines changed

3 files changed

+494
-646
lines changed

Diff for: lib/mergeable.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class Mergeable {
9494

9595
// version 2 of mergeable.
9696
flex (robot) {
97-
robot.on('*', async pContext => {
97+
robot.onAny(async pContext => {
9898
const context = new Context(pContext)
9999
logEventReceived(context)
100100
statEventReceived(context)

0 commit comments

Comments
 (0)