Browse Source

Remove warning in 'sys' - too aggressive

v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
6ce007e89a
  1. 5
      lib/sys.js

5
lib/sys.js

@ -3,7 +3,8 @@ var util = require("util");
var sysWarning;
if (!sysWarning) {
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;
@ -15,4 +16,4 @@ exports.p = util.p;
exports.log = util.log;
exports.exec = util.exec;
exports.pump = util.pump;
exports.inherits = util.inherits;
exports.inherits = util.inherits;

Loading…
Cancel
Save