diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-09-16 22:53:48 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-09-16 22:53:48 +0100 |
| commit | 0d13c71b3b8d4adb8d59e5e586f6e5f1a284107d (patch) | |
| tree | dee67bdc7191c0051aa18926411f032dc8516fa0 | |
| parent | ace79b54bd2f673a236a82c06ba82b468f4347ca (diff) | |
Remove unused fail method on promises
| -rw-r--r-- | lib/promises.js | 2 |
1 files changed, 0 insertions, 2 deletions
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)); |
