Skip to content

Commit e1c41ab

Browse files
authored
fix(1415): Fix function definition and event map object (#72)
1 parent 548e460 commit e1c41ab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,18 +133,18 @@ class BitbucketScm extends Scm {
133133

134134
/**
135135
* Get the webhook events mapping of screwdriver events and scm events
136-
* @async _getWebhookEventsMapping
136+
* @method _getWebhookEventsMapping
137137
* @return {Object} Returns a mapping of the events
138138
*/
139-
async _getWebhookEventsMapping() {
139+
_getWebhookEventsMapping() {
140140
return {
141-
'~pr': [
141+
pr: [
142142
'pullrequest:created',
143143
'pullrequest:fulfilled',
144144
'pullrequest:rejected',
145145
'pullrequest:updated'
146146
],
147-
'~commit': 'push'
147+
commit: 'push'
148148
};
149149
}
150150

0 commit comments

Comments
 (0)