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