Skip to content

Commit

Permalink
fix(1415): Fix function definition and event map object (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
supra08 authored Oct 27, 2020
1 parent 662db10 commit ca742b2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,13 +174,13 @@ class GitlabScm extends Scm {

/**
* Get the webhook events mapping of screwdriver events and scm events
* @async _getWebhookEventsMapping
* @method _getWebhookEventsMapping
* @return {Object} Returns a mapping of the events
*/
async _getWebhookEventsMapping() {
_getWebhookEventsMapping() {
return {
'~pr': 'merge_requests_events',
'~commit': 'push_events'
pr: 'merge_requests_events',
commit: 'push_events'
};
}

Expand Down

0 comments on commit ca742b2

Please sign in to comment.