()
| 290 | } |
| 291 | |
| 292 | function flushPendingError(): void { |
| 293 | if (!pendingError) { |
| 294 | return; |
| 295 | } |
| 296 | onEvent({ |
| 297 | kind, |
| 298 | fragment: 'compiler-diagnostic', |
| 299 | operation, |
| 300 | severity: 'error', |
| 301 | message: pendingError.message, |
| 302 | location: pendingError.location, |
| 303 | rawLine: pendingError.rawLines.join('\n'), |
| 304 | }); |
| 305 | pendingError = null; |
| 306 | } |
| 307 | |
| 308 | function processLine(rawLine: string): void { |
| 309 | const line = normalizeEventLine(rawLine); |
no outgoing calls
no test coverage detected