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:
parent
12c2ea05ca
commit
0329468e73
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user