Add special case for object trees.

This commit is contained in:
Tom Alexander
2023-12-29 17:46:35 -05:00
parent 78befc7665
commit 90735586b5
3 changed files with 113 additions and 70 deletions

View File

@@ -55,7 +55,7 @@ impl<'s> WasmDiffResult<'s> {
original_document: &str,
) -> Result<(), Box<dyn std::error::Error>> {
let status_text = {
if self.is_bad() {
if self.is_self_bad() {
format!(
"{color}BAD{reset}",
color = foreground_color(255, 0, 0),