fix: Use dirs crate for home_dir() function

This commit is contained in:
Michael Aaron Murphy 2022-03-27 16:05:04 +02:00 committed by Michael Murphy
parent e578f2d19c
commit b770b59e7b
8 changed files with 10 additions and 6 deletions

View file

@ -73,7 +73,7 @@ impl App {
let mut queue = VecDeque::new();
queue.push_back(
std::env::home_dir()
dirs::home_dir()
.expect("user does not have home dir")
.join(LOCAL_PATH),
);