Remove warning in 'sys' - too aggressive

This commit is contained in:
Ryan Dahl 2010-11-02 21:20:28 -07:00
parent 515f006b6e
commit 6ce007e89a

View File

@ -3,7 +3,8 @@ var util = require("util");
var sysWarning; var sysWarning;
if (!sysWarning) { if (!sysWarning) {
sysWarning = "The 'sys' module is now called 'util'. It should have a similar interface."; sysWarning = "The 'sys' module is now called 'util'. It should have a similar interface.";
util.error(sysWarning); // Uncomment in 2011
//util.error(sysWarning);
} }
exports.print = util.print; exports.print = util.print;
@ -15,4 +16,4 @@ exports.p = util.p;
exports.log = util.log; exports.log = util.log;
exports.exec = util.exec; exports.exec = util.exec;
exports.pump = util.pump; exports.pump = util.pump;
exports.inherits = util.inherits; exports.inherits = util.inherits;