(prefix: string)
| 70 | } |
| 71 | |
| 72 | progressPrefix(prefix: string): string { |
| 73 | const match = prefix.match(/^\[([^\]]+)\](.*)$/); |
| 74 | if (!match) return prefix; |
| 75 | |
| 76 | const [, scope, rest] = match; |
| 77 | return `${this.prefix(scope)}${rest}`; |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | class TerminalWriter { |
no test coverage detected