Skip to content

Commit

Permalink
Merge pull request #20 from balderdashy/colors
Browse files Browse the repository at this point in the history
Enable colored prefixes by default in production (now that we've swit…
  • Loading branch information
mikermcneil authored Mar 18, 2017
2 parents 2a1899e + a768a0e commit 0df4802
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/configure.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,8 @@ module.exports = function(overrides) {

// If `prefixes` were not explicitly set in user config,
// and `colors` were not disabled in user config,
// and NODE_ENV is not set to 'production,
// load the `colors` dependency and colorize prefixes.
if (options.prefixes === undefined && options.colors && process.env.NODE_ENV !== 'production') {
// display colorized prefixes.
if (options.prefixes === undefined && options.colors) {

options.prefixes = {};

Expand Down

0 comments on commit 0df4802

Please sign in to comment.