mirror of https://github.com/nodejs/node.git
REPL: disable colors in windows for now
parent
88947dc4f0
commit
192d2e0803
|
@ -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…
Reference in New Issue