Skip to content

Commit

Permalink
fix(fixed informational alert shows up twice in results summary #1031):
Browse files Browse the repository at this point in the history
  • Loading branch information
hitenkoku committed May 5, 2023
1 parent 82e132c commit c822a14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/afterfact.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1140,8 +1140,8 @@ fn _print_detection_summary_tables(
]);
}

let odd_row = &mut output[4].iter().skip(1).take(5);
let even_row = &mut output[4].iter().skip(1).take(5);
let odd_row = &mut output[4].iter().skip(1).step_by(2);
let even_row = &mut output[4].iter().skip(2).step_by(2);
tb.add_row(vec![
Cell::new(&output[4][0]).fg(col_color[4].unwrap_or(comfy_table::Color::Reset)),
Cell::new(""),
Expand Down

0 comments on commit c822a14

Please sign in to comment.