MCPcopy
hub / github.com/freshframework/fresh / getStdOutput

Function getStdOutput

packages/fresh/tests/test_utils.tsx:345–355  ·  view source on GitHub ↗
(
  out: Deno.CommandOutput,
)

Source from the content-addressed store, hash-verified

343}
344
345export function getStdOutput(
346 out: Deno.CommandOutput,
347): { stdout: string; stderr: string } {
348 const decoder = new TextDecoder();
349 const stdout = colors.stripAnsiCode(decoder.decode(out.stdout));
350
351 const decoderErr = new TextDecoder();
352 const stderr = colors.stripAnsiCode(decoderErr.decode(out.stderr));
353
354 return { stdout, stderr };
355}
356
357const ISLAND_FIXTURE_DIR = path.join(import.meta.dirname!, "fixtures_islands");
358const allIslandBuilder = new Builder({});

Callers 4

patchProjectFunction · 0.90
init_test.tsFile · 0.90
builder_test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected