mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-02 16:38:14 +00:00
fix?
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user