MCPcopy Create free account
hub / github.com/code-pushup/cli / #formatGroupTitle

Method #formatGroupTitle

packages/utils/src/lib/logger.ts:389–394  ·  view source on GitHub ↗
(title: string, symbols: { prefix: boolean })

Source from the content-addressed store, hash-verified

387 }
388
389 #formatGroupTitle(title: string, symbols: { prefix: boolean }): string {
390 const text = symbols.prefix
391 ? `${this.#groupSymbols.start} ${title}`
392 : title;
393 return ansis.bold(this.#colorize(text, this.#groupColor));
394 }
395
396 // eslint-disable-next-line max-lines-per-function
397 async #spinner<T>(

Callers 1

#createGroupMarkersMethod · 0.95

Calls 1

#colorizeMethod · 0.95

Tested by

no test coverage detected