(output: string)
| 262 | } |
| 263 | |
| 264 | export function stripTerminalOutput(output: string): string { |
| 265 | return stripAnsi(output).replace(/\s+/g, ' ').trim() |
| 266 | } |
| 267 | |
| 268 | export function collapseWhitespace(output: string): string { |
| 269 | return stripTerminalOutput(output).replace(/\s+/g, '') |
no outgoing calls
no test coverage detected