Show warning when using lib/sys.js
This commit is contained in:
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…
x
Reference in New Issue
Block a user