Fix chalk usage on the info command.

This commit is contained in:
André Cruz
2013-08-08 14:17:49 +01:00
parent 160dc5c470
commit 9c4b30b65c

View File

@@ -173,10 +173,10 @@ StandardRenderer.prototype._info = function (data) {
highlightedJson = cardinal.highlight(stringifyObject(data, { indent: ' ' }), {
theme: {
String: {
_default: chalk.styles.cyan
_default: function (s) { return chalk.styles.cyan[0] + s + chalk.styles.cyan[1]; }
},
Identifier: {
_default: chalk.styles.green
_default: function (s) { return chalk.styles.green[0] + s + chalk.styles.green[1]; }
}
},
json: true