Webpack build for branch master: 45cc175851

This commit is contained in:
Travis CI 2017-06-27 19:24:31 +00:00
parent 620b2f258f
commit 6b65c71cc9
2 changed files with 5 additions and 5 deletions

View file

@ -18267,9 +18267,9 @@ class Client extends EventEmitter {
*/
setTimeout(fn, delay, ...args) {
const timeout = setTimeout(() => {
fn();
fn(...args);
this._timeouts.delete(timeout);
}, delay, ...args);
}, delay);
this._timeouts.add(timeout);
return timeout;
}
@ -18479,9 +18479,9 @@ class WebhookClient extends Webhook {
*/
setTimeout(fn, delay, ...args) {
const timeout = setTimeout(() => {
fn();
fn(...args);
this._timeouts.delete(timeout);
}, delay, ...args);
}, delay);
this._timeouts.add(timeout);
return timeout;
}

File diff suppressed because one or more lines are too long