Commit 0d13c71 for mammothjs
commit 0d13c71b3b8d4adb8d59e5e586f6e5f1a284107d
Author: Michael Williamson <mike@zwobble.org>
Date: Wed Sep 16 22:53:48 2026 +0100
Remove unused fail method on promises
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));