fix: method red not found in release builds (#3434)

This commit is contained in:
Micha Reiser 2023-03-10 10:17:35 +01:00 committed by GitHub
parent bb3bb24b59
commit b983d5eb3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,6 +49,8 @@ pub fn run(
) -> Result<ExitStatus> {
#[cfg(not(debug_assertions))]
{
use colored::Colorize;
let default_panic_hook = std::panic::take_hook();
std::panic::set_hook(Box::new(move |info| {
#[allow(clippy::print_stderr)]