Permalink
Browse files

Force colored output using DEBUG_COLORS env

  • Loading branch information...
1 parent a9ba7d5 commit 861fffaa9e369dd0284d0170f2400976dc924716 @nopnop nopnop committed Jun 1, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/debug.js
View
@@ -1,4 +1,3 @@
-
/**
* Module dependencies.
*/
@@ -129,7 +128,7 @@ function debug(name) {
colored.enabled = plain.enabled = true;
- return isatty || (process.env['DEBUG_COLORED'] == 'true')
+ return isatty || process.env.DEBUG_COLORS
? colored
: plain;
}

0 comments on commit 861fffa

Please sign in to comment.