fix build on windows

This commit is contained in:
Wez Furlong committed 2020-05-06 20:53:51 -07:00
1 parent c53ab60940
commit 407e4f855c
1 file changed
+1 -1
+1 -1
View File
@@ -804,7 +804,7 @@ fn run() -> anyhow::Result<()> {
SetStdHandle(STD_ERROR_HANDLE, stderr.into_raw_file_descriptor());
*/
std::env::set_current_dir(config::HOME_DIR)?;
std::env::set_current_dir(config::HOME_DIR.as_path())?;
}
};
pretty_env_logger::init_timed();