MCPcopy Index your code
hub / github.com/devcontainers/cli / toErrorText

Function toErrorText

src/spec-utils/log.ts:278–282  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

276}
277
278export function toErrorText(str: string) {
279 return str.split(/\r?\n/)
280 .map(line => `${line}`)
281 .join('\r\n') + '\r\n';
282}
283
284export function toWarningText(str: string) {
285 return str.split(/\r?\n/)

Callers 9

launchFunction · 0.90
runSingleCommandFunction · 0.85
runRemoteCommandNoPtyFunction · 0.85
runUserEnvProbeFunction · 0.85
runCommandNoPtyFunction · 0.85
getEventsFunction · 0.85
bailOutFunction · 0.85
retryFunction · 0.85
logErrorStdoutStderrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected