Update miette graphical-forcing comment to reference upstream issue

This commit is contained in:
Nick Fitzgerald
2021-11-15 14:53:51 -08:00
parent 48ef2c0b84
commit 0b1bf104c6

View File

@@ -139,9 +139,8 @@ fn rebuild_isle(crate_dir: &std::path::Path) -> Result<(), Box<dyn std::error::E
let _ = miette::set_hook(Box::new(|_| { let _ = miette::set_hook(Box::new(|_| {
Box::new( Box::new(
miette::MietteHandlerOpts::new() miette::MietteHandlerOpts::new()
// Ensure `miette` emits source snippets, even when the // This is necessary for `miette` to properly display errors
// output is not a tty (NB: there are no terminal control // until https://github.com/zkat/miette/issues/93 is fixed.
// codes in the "graphical" output).
.force_graphical(true) .force_graphical(true)
.build(), .build(),
) )