Browse Source

Fix for confusing deprecation message

v0.7.4-release
Felix Geisendörfer 15 years ago
committed by Ryan Dahl
parent
commit
0329468e73
  1. 2
      src/node.js

2
src/node.js

@ -320,7 +320,7 @@ process.exit = function (code) {
}; };
node.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 () { (function () {

Loading…
Cancel
Save