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 5281c03 commit 39852d0Copy full SHA for 39852d0
dev/launch.ps1
@@ -45,11 +45,13 @@ function New-TemporaryPath {
45
46
Write-Host "Creating new temporary path: $Prefix"
47
48
+ $temp = [System.IO.Path]::GetTempPath()
49
+
50
# Remove Previous Temporary Paths
- Remove-Item -Path "$env:Temp\$Prefix*" -Force -Recurse -ErrorAction SilentlyContinue
51
+ Remove-Item -Path "$temp\$Prefix*" -Force -Recurse -ErrorAction SilentlyContinue
52
53
# Create New Temporary Path
- $item = New-Item -Path $env:TEMP -Name "$($Prefix)_$(Get-Random)" -ItemType Directory
54
+ $item = New-Item -Path $temp -Name "$($Prefix)_$(Get-Random)" -ItemType Directory
55
$item.FullName
56
}
57
0 commit comments