We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 548e460 commit e1c41abCopy full SHA for e1c41ab
index.js
@@ -133,18 +133,18 @@ class BitbucketScm extends Scm {
133
134
/**
135
* Get the webhook events mapping of screwdriver events and scm events
136
- * @async _getWebhookEventsMapping
+ * @method _getWebhookEventsMapping
137
* @return {Object} Returns a mapping of the events
138
*/
139
- async _getWebhookEventsMapping() {
+ _getWebhookEventsMapping() {
140
return {
141
- '~pr': [
+ pr: [
142
'pullrequest:created',
143
'pullrequest:fulfilled',
144
'pullrequest:rejected',
145
'pullrequest:updated'
146
],
147
- '~commit': 'push'
+ commit: 'push'
148
};
149
}
150
0 commit comments