Skip to content

Commit

Permalink
Make output white
Browse files Browse the repository at this point in the history
There's a bug with the Solarized theme and grey output. Making it
explicitly white helps.
  • Loading branch information
jackfranklin committed Jun 15, 2013
1 parent 1fd23c1 commit 1742987
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ var argv = require('optimist').argv
, fs = require('fs')
, path = require('path')
, spawn = require('child_process').spawn
, colors = require('colors')
, home_dir = process.env.HOME
, config_file = path.resolve(home_dir, '.distra.json')
, port = process.argv[2] || argv.port || process.env.PORT || 8000
Expand Down Expand Up @@ -125,7 +126,7 @@ if( argv._[0] === 'config' || argv._[0] === 'ls' ) {
}

keys.forEach(function (host) {
console.log('%s : %s', pad(host, 25), config[host]);
console.log('%s : %s'.white, pad(host, 25), config[host]);
});

process.exit();
Expand Down Expand Up @@ -189,4 +190,4 @@ fs.watch(config_file, function (event, filename) {
}
});

reboot();
reboot();
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"http-proxy": "~0.8.7",
"hostsfile": "~1.0.0",
"optimist": "~0.3.5",
"gzippo": "~0.2.0"
"gzippo": "~0.2.0",
"colors": "~0.6.0-1"
}
}

0 comments on commit 1742987

Please sign in to comment.