We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bd8b7f commit b4737b4Copy full SHA for b4737b4
__tests__/clear-toolcache.ps1
@@ -6,8 +6,8 @@ $dotnetPaths = @{
6
7
foreach ($srcPath in $dotnetPaths[$args[0]]) {
8
if (Test-Path $srcPath) {
9
- Write-Host "Move $srcPath path"
10
- $dstPath = Join-Path ([IO.Path]::GetTempPath()) ([IO.Path]::GetRandomFileName())
+ $dstPath = "$srcPath-" + [IO.Path]::GetRandomFileName()
+ Write-Host "Moving $srcPath to $dstPath"
11
Move-Item -Path $srcPath -Destination $dstPath
12
}
13
0 commit comments