fix: refactor inconsistent behavior on CLI::write() and CLI::error()
#10106
+118
−52
Loading