mirror of
https://github.com/youwen5/iamb.git
synced 2025-06-20 05:39:52 -07:00
Need fallback behaviour when dirs::download_dir returns None (#118)
This commit is contained in:
parent
3da9835a17
commit
6e8e12b579
4 changed files with 10 additions and 9 deletions
|
@ -169,7 +169,7 @@ pub fn mock_dirs() -> DirectoryValues {
|
|||
DirectoryValues {
|
||||
cache: PathBuf::new(),
|
||||
logs: PathBuf::new(),
|
||||
downloads: PathBuf::new(),
|
||||
downloads: None,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue