Skip to content

Commit

Permalink
Merge pull request #6445 from cb1kenobi/timob-18133_3_5_X
Browse files Browse the repository at this point in the history
[TIMOB-18133] Added some color to the build command line info output.
  • Loading branch information
cb1kenobi committed Dec 6, 2014
2 parents 5f6b8c2 + daa5257 commit 1853ddd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cli/commands/build.js
Expand Up @@ -341,11 +341,11 @@ function patchLogger(logger, cli) {
return ('' + s).bold;
}

function styleValue(s) {
function styleValue(s) {
return ('' + s).magenta;
}

function rpad(s) {
function rpad(s) {
return appc.string.rpad(s, 27);
}

Expand Down Expand Up @@ -373,7 +373,7 @@ function patchLogger(logger, cli) {
' ' + rpad(__('Target Platform')) + ' = ' + styleValue(ti.resolvePlatform(cli.argv.platform)),
'',
styleHeading(__('Command')),
' ' + process.argv.join(' '),
' ' + styleValue(process.argv.join(' ')),
''
].join('\n'));

Expand Down

0 comments on commit 1853ddd

Please sign in to comment.