diff --git a/crates/compilers/src/compile/output/mod.rs b/crates/compilers/src/compile/output/mod.rs index abbf31b9..4c2eb9c4 100644 --- a/crates/compilers/src/compile/output/mod.rs +++ b/crates/compilers/src/compile/output/mod.rs @@ -911,13 +911,12 @@ impl fmt::Display for OutputDiagnostics<'_, C> { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { f.write_str("Compiler run ")?; if self.has_error() { - Paint::red("failed:") + write!(f, "{}:", "failed".red()) } else if self.has_warning() { - Paint::yellow("successful with warnings:") + write!(f, "{}:", "successful with warnings".yellow()) } else { - Paint::green("successful!") - } - .fmt(f)?; + write!(f, "{}!", "successful".green()) + }?; for err in &self.compiler_output.errors { if !self.compiler_output.should_ignore(