Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cmd/percas/src/start.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ pub struct CommandStart {

impl CommandStart {
pub fn run(self) -> Result<(), Error> {
// Configure error stack to not print with colors
error_stack::Report::set_color_mode(error_stack::fmt::ColorMode::None);

let file = self.config_file;
let config = std::fs::read_to_string(&file).change_context_lazy(|| {
Error(format!("failed to read config file: {}", file.display()))
Expand Down
Loading