mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
Enable console colors on windows by default
This commit is contained in:
parent
73fcd43b85
commit
81425598db
@ -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…
Reference in New Issue
Block a user