This commit is contained in:
Tony 2025-12-07 20:14:34 +08:00
parent 6c4a886b90
commit a08aa1e45a
No known key found for this signature in database
GPG Key ID: 34BDD3EA27824956

View File

@ -321,7 +321,7 @@ impl<R: Runtime> PathResolver<R> {
if let Some(base_directory) = app_directories_override
.components()
.next()
.and_then(|str| BaseDirectory::from_variable(&str.as_os_str().to_str()?))
.and_then(|str| BaseDirectory::from_variable(str.as_os_str().to_str()?))
{
return if matches!(
base_directory,