Show warning when using lib/sys.js

pull/22966/head
Maciej Małecki 2011-08-31 15:29:37 +02:00 committed by Ben Noordhuis
parent f013f15c89
commit 8d70cc607c
1 changed files with 1 additions and 2 deletions

View File

@ -25,8 +25,7 @@ var sysWarning;
if (!sysWarning) {
sysWarning = 'The "sys" module is now called "util". ' +
'It should have a similar interface.';
// Uncomment in 2011
//util.error(sysWarning);
util.error(sysWarning);
}
exports.print = util.print;