MCPcopy Create free account
hub / github.com/webpack/webpack-cli / formatList

Method formatList

packages/webpack-cli/src/webpack-cli.ts:1490–1490  ·  view source on GitHub ↗
(textArray: string[])

Source from the content-addressed store, hash-verified

1488 };
1489
1490 const formatList = (textArray: string[]) => textArray.join("\n");
1491
1492 const addSection = (output: string[], title: string, items: string[]) =>
1493 items.length > 0 ? [...output, sectionTitle(title), formatList(items), ""] : output;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected