mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-12 16:36:33 +02:00
chore(deps): update to tauri beta.9 (#1037)
This commit is contained in:
committed by
GitHub
parent
16fc0f2ee3
commit
cacf544d51
File diff suppressed because one or more lines are too long
@@ -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()
|
||||
};
|
||||
|
||||
@@ -16,8 +16,6 @@ pub enum Error {
|
||||
Io(#[from] std::io::Error),
|
||||
#[error("forbidden path: {0}")]
|
||||
PathForbidden(PathBuf),
|
||||
#[error("failed to resolve path: {0}")]
|
||||
CannotResolvePath(tauri::path::Error),
|
||||
/// Invalid glob pattern.
|
||||
#[error("invalid glob pattern: {0}")]
|
||||
GlobPattern(#[from] glob::PatternError),
|
||||
|
||||
Reference in New Issue
Block a user