MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / withIndents

Function withIndents

packages/cli-v3/src/utilities/cliOutput.ts:75–79  ·  view source on GitHub ↗
(text?: string)

Source from the content-addressed store, hash-verified

73 const prettyPrefix = chalkError(prefix);
74
75 const withIndents = (text?: string) =>
76 text
77 ?.split("\n")
78 .map((line) => `${indent}${line}`)
79 .join("\n");
80
81 const prettyBody = withIndents(body);
82 const prettyFooter = withIndents(footer);

Callers 2

prettyErrorFunction · 0.85
prettyWarningFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…