0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00

Fix for confusing deprecation message

This commit is contained in:
Felix Geisendörfer 2009-10-12 22:13:58 +02:00 committed by Ryan Dahl
parent 12c2ea05ca
commit 0329468e73

View File

@ -320,7 +320,7 @@ process.exit = function (code) {
};
node.exit = function (code) {
throw new Error("process.exit() has been renamed to process.exit().");
throw new Error("node.exit() has been renamed to process.exit().");
};
(function () {