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.
2 parents b8e13b2 + f9ebe7e commit f9e45adCopy full SHA for f9e45ad
lib/utils.js
@@ -241,7 +241,7 @@ function ret(callback) {
241
*/
242
return function() {
243
const args = [ ...arguments ];
244
- if (!promisify) { return callback.apply(this, args); }
+ if (!promisify) { return void callback.apply(this, args); }
245
246
return new Promise((resolve, reject) => {
247
const err = args.shift();
0 commit comments