Browse Source

posix.cat not using call() correctly

'this' will point to "arguments" and the arguments of the callback itself
will not be set.
v0.7.4-release
Jonas Pfenniger 15 years ago
committed by Ryan Dahl
parent
commit
e6c5ac4f73
  1. 2
      src/node.js

2
src/node.js

@ -651,7 +651,7 @@ var posixModule = createInternalModule("posix", function (exports) {
exports.close(fd);
}
}).addErrback(function () {
promise.emitError.call(arguments);
promise.emitError.apply(promise, arguments);
});
}
readChunk();

Loading…
Cancel
Save