We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93d233b commit 84a5d5bCopy full SHA for 84a5d5b
crates/cli/src/commands/compare.rs
@@ -641,7 +641,7 @@ fn display_summary(
641
642
let status = if result.diff_result.match_result.changes.is_empty() {
643
"No changes".green()
644
- } else if result.diff_result.changes.len() < 5 {
+ } else if result.diff_result.match_result.changes.len() < 5 {
645
"Minor changes".yellow()
646
} else {
647
"Major changes".red()
@@ -650,7 +650,7 @@ fn display_summary(
650
term.write_line(&format!(" {} - {} ({} changes, {:.1}% similar)",
651
file_name,
652
status,
653
- result.diff_result.changes.len(),
+ result.diff_result.match_result.changes.len(),
654
result.stats.similarity_score * 100.0
655
))?;
656
}
0 commit comments