From 0d13c71b3b8d4adb8d59e5e586f6e5f1a284107d Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 16 Sep 2026 22:53:48 +0100 Subject: Remove unused fail method on promises --- lib/promises.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib') diff --git a/lib/promises.js b/lib/promises.js index 0f0512a..6fc8d6e 100644 --- a/lib/promises.js +++ b/lib/promises.js @@ -17,8 +17,6 @@ exports.nfcall = function(func) { return promisedFunc.apply(null, args); }; -bluebird.prototype.fail = bluebird.prototype.caught; - bluebird.prototype.also = function(func) { return this.then(function(value) { var returnValue = _.extend({}, value, func(value)); -- cgit v1.2.3