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 5347ae7 commit d00af9fCopy full SHA for d00af9f
Tests/TestUtils.ps1
@@ -19,9 +19,9 @@ function Mock-Api-Call-Grails-1.1.1-Available($Available) {
19
function Mock-PSDK-Dir {
20
$Script:backup_PSDK_DIR = $Global:PSDK_DIR
21
$randomName = (-join ((65..90) + (97..122) | Get-Random -Count 5 | % {[char]$_}))
22
- $testPath = "$env:Temp/$randomName"
23
- New-Item -ItemType Directory "$testPath/.posh-sdk" | Out-Null
24
- $Global:PSDK_DIR = (Get-Item "$testPath/.posh-sdk").FullName
+ $testPath = "$env:Temp\$randomName"
+ New-Item -ItemType Directory "$testPath\.posh-sdk" | Out-Null
+ $Global:PSDK_DIR = (Get-Item "$testPath\.posh-sdk").FullName
25
New-Item -ItemType Directory "$Global:PSDK_DIR\grails" | Out-Null
26
}
27
0 commit comments