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

Function toWarningText

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

Source from the content-addressed store, hash-verified

282}
283
284export function toWarningText(str: string) {
285 return str.split(/\r?\n/)
286 .map(line => `${line}`)
287 .join('\r\n') + '\r\n';
288}
289
290export function replaceAllLog(origin: LogHandler, values: string[], replacement: string): LogHandler {
291 values = values

Callers 1

getContainerPropertiesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected