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) {
|
if (!sysWarning) {
|
||||||
sysWarning = 'The "sys" module is now called "util". ' +
|
sysWarning = 'The "sys" module is now called "util". ' +
|
||||||
'It should have a similar interface.';
|
'It should have a similar interface.';
|
||||||
// Uncomment in 2011
|
util.error(sysWarning);
|
||||||
//util.error(sysWarning);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.print = util.print;
|
exports.print = util.print;
|
||||||
|
|
Loading…
Reference in New Issue