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

Function indentLines

packages/utils/src/lib/formatting.ts:160–162  ·  view source on GitHub ↗
(text: string, identation: number)

Source from the content-addressed store, hash-verified

158}
159
160export function indentLines(text: string, identation: number): string {
161 return transformLines(text, line => `${' '.repeat(identation)}${line}`);
162}
163
164export function serializeCommandWithArgs({
165 command,

Callers 4

analyzePageFunction · 0.90
#spinnerMethod · 0.85
#logMethod · 0.85

Calls 1

transformLinesFunction · 0.85

Tested by

no test coverage detected