Browse Source

REPL: disable colors in windows for now

v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
192d2e0803
  1. 6
      lib/repl.js

6
lib/repl.js

@ -26,7 +26,11 @@ var fs = require('fs');
var rl = require('readline');
var context;
var disableColors = process.env.NODE_DISABLE_COLORS ? true : false;
var disableColors = true;
if (process.platform != 'win32') {
disableColors = process.env.NODE_DISABLE_COLORS ? true : false;
}
// hack for require.resolve("./relative") to work properly.

Loading…
Cancel
Save