(line: string)
| 176 | } |
| 177 | |
| 178 | const processLine = (line: string) => { |
| 179 | if (!line.trim()) { |
| 180 | return |
| 181 | } |
| 182 | |
| 183 | try { |
| 184 | processEvent(JSON.parse(line)) |
| 185 | } catch { |
| 186 | steps.push({ type: 'text', text: line }) |
| 187 | } |
| 188 | } |
| 189 | |
| 190 | child.stdout.on('data', (data: Buffer) => { |
| 191 | stdoutBuffer += data.toString() |
nothing calls this directly
no test coverage detected