Permalink
Browse files

Merge pull request #17 from nopnop/master

A way to force colored output
  • Loading branch information...
2 parents fa2367f + 861fffa commit b64124c30f0c017cbf164d13d77750c863cd9b6f @tj tj committed Sep 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
+ return isatty || process.env.DEBUG_COLORS
? colored
: plain;
}

0 comments on commit b64124c

Please sign in to comment.