Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
Remove super repetitive debugs
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinegb committed Oct 20, 2023
1 parent d988fb4 commit 9f7baec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/installation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,11 @@ impl ModInstallation {
fn increment_bytes(&mut self, bytes: u64) {
self.bytes += bytes;
self.progress_bar.inc(bytes);
debug!("incremented mod installation bytes");
}

fn update_total_bytes(&mut self, total_bytes: u64) {
self.total_bytes = total_bytes;
self.progress_bar.set_length(total_bytes);
debug!("updated total mod installation bytes");
}

fn fail(&mut self, msg: impl fmt::Display) -> Result<(), TemplateError> {
Expand Down

0 comments on commit 9f7baec

Please sign in to comment.