Commit ffd3756 for mammothjs
commit ffd37560dfc7a2b064f586b63982875f6db3da67
Author: Michael Williamson <mike@zwobble.org>
Date: Wed Sep 16 23:42:11 2026 +0100
Remove also from bluebird Promise prototype
diff --git a/lib/promises.js b/lib/promises.js
index e05cf11..2a007c2 100644
--- a/lib/promises.js
+++ b/lib/promises.js
@@ -43,13 +43,6 @@ exports.try = function(func) {
}
};
-bluebird.prototype.also = function(func) {
- return this.then(function(value) {
- var returnValue = _.extend({}, value, func(value));
- return bluebird.props(returnValue);
- });
-};
-
function defer() {
var resolve;
var reject;