(data: Buffer | string)
| 82 | } |
| 83 | |
| 84 | #dataHandler(data: Buffer | string): void { |
| 85 | const str = typeof data === 'string' ? data : data.toString() |
| 86 | |
| 87 | if (this.#isStderr) { |
| 88 | this.#taskOutput!.writeStderr(str) |
| 89 | } else { |
| 90 | this.#taskOutput!.writeStdout(str) |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | cleanup(): void { |
| 95 | if (this.#isCleanedUp) { |
nothing calls this directly
no test coverage detected