mirror of
https://github.com/BreizhHardware/memoizee.git
synced 2026-01-18 16:37:21 +01:00
docs: remove invalid comment
This commit is contained in:
@@ -65,8 +65,6 @@ require("../lib/registered-extensions").promise = function (mode, conf) {
|
||||
if (!resolvedMode) resolvedMode = "then";
|
||||
|
||||
if (resolvedMode === "then") {
|
||||
// With no `finally` it's best we can do, side effect is that it mutes any eventual
|
||||
// "Unhandled error" events on returned promise
|
||||
promise.then(
|
||||
function (result) {
|
||||
nextTick(onSuccess.bind(this, result));
|
||||
|
||||
Reference in New Issue
Block a user