summaryrefslogtreecommitdiffstats
path: root/src/launcher/version.rs
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2025-01-14 02:51:02 -0600
committerLibravatar bigfoot547 <[email protected]>2025-01-14 02:51:02 -0600
commit7a42235af574a3a8f07db8ccc3189ce735213ce8 (patch)
tree275b230cb93ed70ee7b0aadd1e5e1dc7da9eccef /src/launcher/version.rs
parentlibrary downloads complete (diff)
verify libraries when offline
Diffstat (limited to 'src/launcher/version.rs')
-rw-r--r--src/launcher/version.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/launcher/version.rs b/src/launcher/version.rs
index 40bb953..2e320f2 100644
--- a/src/launcher/version.rs
+++ b/src/launcher/version.rs
@@ -4,7 +4,7 @@ use std::collections::HashSet;
use std::fmt::Display;
use std::path::{Path, PathBuf};
-use log::{debug, info, trace, warn};
+use log::{debug, info, warn};
use sha1_smol::Digest;
use tokio::{fs, io};
use crate::util;
@@ -42,7 +42,7 @@ impl RemoteVersionList {
match tokio::fs::create_dir_all(path.parent().expect("version .json has no parent (impossible)")).await {
Err(e) => {
if e.kind() != ErrorKind::AlreadyExists {
- warn!("failed to create {} parent dirs: {e}", path.to_string_lossy());
+ warn!("failed to create {} parent dirs: {e}", path.display());
return Err(e.into());
}
},