mirror of
https://github.com/bower/bower.git
synced 2026-04-24 03:00:19 -04:00
Fix chalk usage on the info command.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user