diff --git a/src/cli.ts b/src/cli.ts index aa5b9e6..64b3b33 100755 --- a/src/cli.ts +++ b/src/cli.ts @@ -268,12 +268,12 @@ async function _build( oncompile: event => { let banner = `built ${event.type}`; - let c = colors.cyan; + let c = (txt: string) => colors.cyan(txt); const { warnings } = event.result; if (warnings.length > 0) { banner += ` with ${warnings.length} ${warnings.length === 1 ? 'warning' : 'warnings'}`; - c = colors.yellow; + c = (txt: string) => colors.cyan(txt); } console.log();