chore(deps): update to tauri beta.9 (#1037)

This commit is contained in:
Lucas Fernandes Nogueira
2024-03-07 00:08:52 -03:00
committed by GitHub
parent 16fc0f2ee3
commit cacf544d51
58 changed files with 374 additions and 339 deletions
File diff suppressed because one or more lines are too long
+1 -3
View File
@@ -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()
};
-2
View File
@@ -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),