MCPcopy
hub / github.com/prisma/prisma / startCapture

Method startCapture

packages/migrate/src/utils/captureStdout.ts:41–46  ·  view source on GitHub ↗

* Starts capturing the writes to process.stdout

()

Source from the content-addressed store, hash-verified

39 * Starts capturing the writes to process.stdout
40 */
41 startCapture() {
42 // eslint-disable-next-line @typescript-eslint/unbound-method
43 this._orig_stdout_write = process.stdout.write
44 // @ts-ignore
45 process.stdout.write = this._writeCapture.bind(this)
46 }
47
48 /**
49 * Stops capturing the writes to process.stdout.

Callers 1

parseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected