(stream, options, ...args)
| 255 | |
| 256 | // Write formatted and (non-)colorized output to streams |
| 257 | #write (stream, options, ...args) { |
| 258 | const colors = stream === this.#stdout ? this.#stdoutColor : this.#stderrColor |
| 259 | const value = formatWithOptions({ colors, ...options }, ...args) |
| 260 | this.#progress.write(() => stream.write(value)) |
| 261 | } |
| 262 | |
| 263 | // HANDLERS |
| 264 |
no test coverage detected