Browse Source

Enable console colors on windows by default

v0.7.4-release
Bert Belder 13 years ago
committed by Ryan Dahl
parent
commit
81425598db
  1. 6
      lib/repl.js

6
lib/repl.js

@ -56,11 +56,7 @@ function hasOwnProperty(obj, prop) {
var context;
exports.disableColors = true;
if (process.platform != 'win32') {
exports.disableColors = process.env.NODE_DISABLE_COLORS ? true : false;
}
exports.disableColors = process.env.NODE_DISABLE_COLORS ? true : false;
// hack for require.resolve("./relative") to work properly.
module.filename = process.cwd() + '/repl';

Loading…
Cancel
Save