Skip to content

Commit d52c613

Browse files
ansu86dCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <[email protected]>
1 parent a83712f commit d52c613

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ bytes = "1.10.1"
127127
rand = "0.9.2"
128128
indoc = "2.0.6"
129129
owo-colors = "4.2.2"
130-
atty = "0.2.14"
131130
json5 = "0.4.1"
132131
aws-config = "1.8.5"
133132
aws-sdk-s3 = "1.102.0"

src/execution/stats.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,8 @@ impl std::fmt::Display for UpdateStats {
214214
let num_no_change = self.num_no_change.get();
215215
let num_errors = self.num_errors.get();
216216
let num_in_process = self.processing.get_in_process();
217-
let total = num_insertions + num_deletions + num_updates + num_no_change;
217+
let num_reprocesses = self.num_reprocesses.get();
218+
let total = num_insertions + num_deletions + num_updates + num_no_change + num_reprocesses;
218219

219220
// Progress bar segments
220221
if total > 0 {
@@ -258,7 +259,6 @@ impl std::fmt::Display for UpdateStats {
258259
let bar_width = 40;
259260
let mut bar = String::new();
260261

261-
let _percentage = ((total - num_in_process) as f64 / total as f64 * 100.0) as i64;
262262
let mut remaining_width = bar_width;
263263

264264
for (count, segment_type, _) in sorted_segments.iter() {

0 commit comments

Comments
 (0)