From f43ee8dfbe2b028197e4d7706624871e791ebb1b Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 16 Sep 2026 23:41:44 +0100 Subject: Remove promises.nfcall() --- lib/promises.js | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib') diff --git a/lib/promises.js b/lib/promises.js index 6ceee1c..e05cf11 100644 --- a/lib/promises.js +++ b/lib/promises.js @@ -43,12 +43,6 @@ exports.try = function(func) { } }; -exports.nfcall = function(func) { - var args = Array.prototype.slice.call(arguments, 1); - var promisedFunc = bluebird.promisify(func); - return promisedFunc.apply(null, args); -}; - bluebird.prototype.also = function(func) { return this.then(function(value) { var returnValue = _.extend({}, value, func(value)); -- cgit v1.2.3