Only update existing symlink directories on preview uninstall (#14179)

On preview uninstall, we should not create a new minor version symlink
directory if one doesn't exist. We should only update existing ones.
This commit is contained in:
John Mumm
2025-06-21 03:50:41 -04:00
committed by GitHub
parent 0fef253c4b
commit 8352560b98
+1 -1
View File
@@ -240,7 +240,7 @@ async fn do_uninstall(
.iter()
.filter(|(minor_version, _)| uninstalled_minor_versions.contains(minor_version))
{
installation.ensure_minor_version_link(preview)?;
installation.update_minor_version_link(preview)?;
}
// For each uninstalled installation, check if there are no remaining installations
// for its minor version. If there are none remaining, remove the symlink directory