Skip to content

Commit

Permalink
fix: use display to fix config path
Browse files Browse the repository at this point in the history
  • Loading branch information
decipher3114 committed Sep 8, 2024
1 parent ae7345f commit 31d59fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ impl Config {
);

#[cfg(not(target_os = "windows"))]
let path = format!("{:?}/.config/capter.toml", var_os("HOME").unwrap().to_string_lossy());
let path = format!("{}/.config/capter.toml", var_os("HOME").unwrap().to_string_lossy());

if !Path::new(&path).exists() {
DirBuilder::new()
Expand Down

0 comments on commit 31d59fd

Please sign in to comment.