This commit is contained in:
Brandon Thomas committed 2023-02-03 05:46:29 -05:00
1 parent 79fba33aae
commit 8af2368f32
1 file changed
+3 -3
@@ -48,9 +48,9 @@ fn get_save_directory(matches: &ArgMatches) -> AnyhowResult<String> {
// Use the current directory
maybe_save_directory = std::env::current_dir()
.ok()
.map(|pathbuf| pathbuf.join(DEFAULT_SAVE_DIRECTORY))
.map(|pathbuf| std::fs::canonicalize(pathbuf).ok())
.flatten();
.map(|pathbuf| pathbuf.join(DEFAULT_SAVE_DIRECTORY));
//.map(|pathbuf| std::fs::canonicalize(pathbuf).ok())
//.flatten();
info!("SA dir(2): {:?}", maybe_save_directory);
}