Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Enable console colors on windows by default

  • Loading branch information...
commit 81425598db4ca99a65f54a69ea58aa34f519bfe9 1 parent 73fcd43
@piscisaureus piscisaureus authored ry committed
Showing with 1 addition and 5 deletions.
  1. +1 −5 lib/repl.js
View
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';

0 comments on commit 8142559

Please sign in to comment.
Something went wrong with that request. Please try again.