mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Remove wrong code preventing new robocopy logic from running (#171)
This commit is contained in:
@@ -96,7 +96,6 @@ pub fn apply_package_impl<'a>(root_path: &PathBuf, app: &Manifest, package: &Pat
|
||||
if !requires_robocopy {
|
||||
// if we didn't need robocopy for the backup, we don't need it for the deploy hopefully
|
||||
if let Err(e1) = fs::rename(&temp_path_new, ¤t_dir) {
|
||||
fs::rename(&temp_path_new, ¤t_dir)?;
|
||||
warn!("Failed to rename temp_path_new to current_dir ({}). Retrying with robocopy...", e1);
|
||||
requires_robocopy = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user