fix: refactor inconsistent behavior on CLI::write() and CLI::error()
#10209
| Job | Run time |
|---|---|
| 15s | |
| 15s |
CLI::write() and CLI::error()
#10209
| Job | Run time |
|---|---|
| 15s | |
| 15s |