We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cc1590 commit 474b773Copy full SHA for 474b773
src/probot.ts
@@ -95,6 +95,9 @@ export class Probot {
95
96
this.on = (eventNameOrNames, callback) => {
97
if (eventNameOrNames === "*") {
98
+ this.log.warn(
99
+ `[probot] Using the "*" event with the regular app.on() function is deprecated. Please use the app.webhooks.onAny() method instead`
100
+ );
101
// @ts-ignore this.webhooks.on("*") is deprecated
102
return this.webhooks.onAny(callback);
103
}
0 commit comments