Remove double remove_file

This commit is contained in:
Nilstrieb 2024-03-16 12:57:36 +01:00
parent 0ec5d374fe
commit 52f84fa7c2

View file

@ -1704,7 +1704,6 @@ impl Build {
t!(fs::create_dir_all(&dst));
self.cp_link_r(&path, &dst);
} else {
let _ = fs::remove_file(&dst);
self.copy_link(&path, &dst);
}
}