Closed
Description
cbd362d#diff-6a7166c4d6d46136f0efc2a724763a85R37
+ if (version && !targetDirectory.containsToolWithVersion(packageId, version)) {
+ throw new Error(`Failed to uninstall previous version of ${packageId}. Exit code: ${uninstallExitCode}`);
+ await DotNet.uninstallLocalTool(packageId, targetDirectory);
Before it checked if cake was installed and then checked if version was specified and uninstalled.
Activity