diff --git a/dist/promisify.js b/dist/promisify.js index c23e8cd..a80d922 100644 --- a/dist/promisify.js +++ b/dist/promisify.js @@ -66,7 +66,7 @@ function promisify(original) { resolve(o); }); // Call the function. - original.call.apply(original, [_this].concat(args)); + original.apply(_this, args); }); }; } // Attach this symbol to the exported function, so users can use it