Skip to content

Commit 9473d4a

Browse files
authored
remove color for error message (#41)
1 parent 435f77c commit 9473d4a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmd/percas/src/start.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ pub struct CommandStart {
4242

4343
impl CommandStart {
4444
pub fn run(self) -> Result<(), Error> {
45+
// Configure error stack to not print with colors
46+
error_stack::Report::set_color_mode(error_stack::fmt::ColorMode::None);
47+
4548
let file = self.config_file;
4649
let config = std::fs::read_to_string(&file).change_context_lazy(|| {
4750
Error(format!("failed to read config file: {}", file.display()))

0 commit comments

Comments
 (0)