mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-02-06 13:37:09 +00:00
Clippy
This commit is contained in:
parent
6c4a886b90
commit
a08aa1e45a
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user