diff --git a/src/report/terminal.ts b/src/report/terminal.ts index 9afafb2..f263ce5 100644 --- a/src/report/terminal.ts +++ b/src/report/terminal.ts @@ -25,7 +25,7 @@ export interface TerminalOptions { const MAX_PACKAGES_SHOWN = 10; function renderWorkspaces(ws: WorkspaceReport, colors: Colors, opts: TerminalOptions): string[] { - const { c } = colors; + const c = colors.c.bind(colors); const out: string[] = ['']; const agg = ws.aggregate === null @@ -71,7 +71,7 @@ function renderWorkspaces(ws: WorkspaceReport, colors: Colors, opts: TerminalOpt } export function renderTerminal(report: Report, colors: Colors, opts: TerminalOptions): string { - const { c } = colors; + const c = colors.c.bind(colors); const out: string[] = []; out.push(''); out.push(