aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2026-09-16 23:42:11 +0100
committerMichael Williamson <mike@zwobble.org>2026-09-16 23:42:11 +0100
commitffd37560dfc7a2b064f586b63982875f6db3da67 (patch)
tree05875b6e72be09002171b58ab4ff90fc390412c8
parentf43ee8dfbe2b028197e4d7706624871e791ebb1b (diff)
Remove also from bluebird Promise prototype
-rw-r--r--lib/promises.js7
1 files changed, 0 insertions, 7 deletions
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;