(str: string)
| 276 | } |
| 277 | |
| 278 | export function toErrorText(str: string) { |
| 279 | return str.split(/\r?\n/) |
| 280 | .map(line => `[1m[31m${line}[39m[22m`) |
| 281 | .join('\r\n') + '\r\n'; |
| 282 | } |
| 283 | |
| 284 | export function toWarningText(str: string) { |
| 285 | return str.split(/\r?\n/) |
no outgoing calls
no test coverage detected