Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

posix.cat not using call() correctly

'this' will point to "arguments" and the arguments of the callback itself
will not be set.
  • Loading branch information...
commit e6c5ac4f73f69c4e87aa5a7c7e84bccfb3ba12e6 1 parent 120492e
@zimbatm zimbatm authored ry committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/node.js
View
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();
Please sign in to comment.
Something went wrong with that request. Please try again.