(text)
| 91 | } |
| 92 | |
| 93 | function parseExitCode(text) { |
| 94 | const match = String(text || '').match(/(?:Return code:|Process exited with code|<exited with exit code)\s*(-?\d+)/i); |
| 95 | return match ? Number(match[1]) : null; |
| 96 | } |
| 97 | |
| 98 | function parseSessionId(text) { |
| 99 | const match = String(text || '').match(/session(?:\s+ID)?\s+(\d+)/i); |
no outgoing calls
no test coverage detected