(chunk: Buffer)
| 250 | }) |
| 251 | |
| 252 | const append = (chunk: Buffer) => { |
| 253 | if (output.length <= MAX_OUTPUT_LENGTH) { |
| 254 | output += chunk.toString() |
| 255 | ctx.metadata({ |
| 256 | metadata: { |
| 257 | output, |
| 258 | description: params.description, |
| 259 | }, |
| 260 | }) |
| 261 | } |
| 262 | } |
| 263 | |
| 264 | proc.stdout?.on("data", append) |
| 265 | proc.stderr?.on("data", append) |
nothing calls this directly
no outgoing calls
no test coverage detected