From 0329468e739161e0b4af6648c588b17d70490571 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Geisend=C3=B6rfer?= Date: Mon, 12 Oct 2009 22:13:58 +0200 Subject: [PATCH] Fix for confusing deprecation message --- src/node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node.js b/src/node.js index 0838b75a8d..fbac941030 100644 --- a/src/node.js +++ b/src/node.js @@ -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 () {