mirror of
https://github.com/tauri-apps/tauri.git
synced 2025-01-01 15:36:14 +03:00
chore(cli): remove unneeded create_dir_all call
This commit is contained in:
parent
873b9aee90
commit
ab29908aba
@ -344,8 +344,6 @@ fn rename_app(bin_path: &Path, product_name: Option<&str>) -> crate::Result<Path
|
||||
.join(&product_name)
|
||||
.with_extension(bin_path.extension().unwrap_or_default());
|
||||
|
||||
std::fs::create_dir_all(product_path.parent().unwrap())?;
|
||||
|
||||
rename(&bin_path, &product_path).with_context(|| {
|
||||
format!(
|
||||
"failed to rename `{}` to `{}`",
|
||||
|
Loading…
Reference in New Issue
Block a user