Skip to content

Commit

Permalink
Move rest of paths to separate arg
Browse files Browse the repository at this point in the history
  • Loading branch information
MolotovCherry committed Nov 17, 2024
1 parent 8c17098 commit cc15f3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/shared/src/paths.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub fn get_larian_local_dir() -> Result<PathBuf> {

local.push("Larian Studios");

trace!("Looking for larian local dir at: {}", local.display());
trace!(path = %local.display(), "Looking for larian local dir at");

if local.exists() {
_ = CACHE.set(local.clone());
Expand All @@ -38,7 +38,7 @@ pub fn get_bg3_local_dir() -> Result<PathBuf> {

local.push("Baldur's Gate 3");

trace!("Looking for bg3 local dir at: {}", local.display());
trace!(path = %local.display(), "Looking for bg3 local dir at");

if local.exists() {
_ = CACHE.set(local.clone());
Expand All @@ -58,7 +58,7 @@ pub fn get_bg3_plugins_dir() -> Result<PathBuf> {
let mut plugins_dir = get_bg3_local_dir()?;
plugins_dir.push("Plugins");

trace!("Looking for bg3 plugins dir at: {}", plugins_dir.display());
trace!(path = %plugins_dir.display(), "Looking for bg3 plugins dir at");

if !plugins_dir.exists() {
info!("Plugin directory not found; creating it..");
Expand Down

0 comments on commit cc15f3c

Please sign in to comment.