mirror of https://github.com/nodejs/node.git
Show warning when using lib/sys.js
parent
f013f15c89
commit
8d70cc607c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue