Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(handler): remove the two extra
is_terminal
sys call from `Miett…
…eHandlerOpts::build` (#325) `GraphicalReportHandler::new()` calls `GraphicalTheme::default()` https://github.com/zkat/miette/blob/7ff4f874d693a665af4df40f4e94505013e3e262/src/handlers/graphical.rs#L52 which calls `std::io::stdout().is_terminal()` and `std::io::stderr().is_terminal()` https://github.com/zkat/miette/blob/7ff4f874d693a665af4df40f4e94505013e3e262/src/handlers/theme.rs#L72 but this default theme is overridden by `with_theme(theme)`.
- Loading branch information