mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-08-17 19:07:12 +02:00
chore(deps): update to tauri beta.9 (#1037)
This commit is contained in:
@@ -809,9 +809,7 @@ pub fn resolve_path<R: Runtime>(
|
||||
) -> CommandResult<PathBuf> {
|
||||
let path = file_url_to_safe_pathbuf(path)?;
|
||||
let path = if let Some(base_dir) = base_dir {
|
||||
app.path()
|
||||
.resolve(&path, base_dir)
|
||||
.map_err(Error::CannotResolvePath)?
|
||||
app.path().resolve(&path, base_dir)?
|
||||
} else {
|
||||
path.as_ref().to_path_buf()
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user