From 4f6b2dcb7ce3a64e937443969b2bb3e6ef03fd48 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Thu, 7 Feb 2019 08:47:02 -0500 Subject: [PATCH] fix kleur thing --- src/cli.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();