Browse Source

Show warning when using lib/sys.js

Maciej Małecki 14 years ago
committed by Ben Noordhuis
parent
commit
8d70cc607c
  1. 3
      lib/sys.js

3
lib/sys.js

@ -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…
Cancel
Save