MCPcopy Create free account
hub / github.com/vercel/vercel / emit

Function emit

packages/container/src/dev.ts:101–107  ·  view source on GitHub ↗
(out: DevOutput, line: string)

Source from the content-addressed store, hash-verified

99}
100
101function emit(out: DevOutput, line: string): void {
102 if (out.onStderr) {
103 out.onStderr(Buffer.from(`${line}\n`));
104 } else {
105 process.stderr.write(`${line}\n`);
106 }
107}
108
109/**
110 * Run a command to completion, forwarding its stdout/stderr to the dev output

Callers 2

resolveDevImageFunction · 0.85
startContainerFunction · 0.85

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected