@@ -14,7 +14,6 @@ Describe 'Build' {
14
14
}
15
15
16
16
AfterAll {
17
- Set-Location $PSScriptRoot
18
17
$jobs | Stop-Job - ErrorAction Ignore
19
18
$jobs | Remove-Job - ErrorAction Ignore
20
19
}
@@ -25,7 +24,7 @@ Describe 'Build' {
25
24
Write-Host " OutputPath: $script :testModuleOutputPath "
26
25
27
26
# build is PS job so psake doesn't freak out because it's nested
28
- $script :jobs += Start-Job - ScriptBlock {
27
+ $script :jobs += Start-Job - Scriptblock {
29
28
Set-Location $using :tempDir
30
29
$global :PSBuildCompile = $true
31
30
./ build.ps1 - Task Build
@@ -77,7 +76,7 @@ Describe 'Build' {
77
76
Context ' Dot-sourced module' {
78
77
BeforeAll {
79
78
# build is PS job so psake doesn't freak out because it's nested
80
- $script :jobs += Start-Job - ScriptBlock {
79
+ $script :jobs += Start-Job - Scriptblock {
81
80
Set-Location $using :tempDir
82
81
$global :PSBuildCompile = $false
83
82
./ build.ps1 - Task Build
@@ -127,7 +126,7 @@ Describe 'Build' {
127
126
Set-Content $psakeFile - Value $psakeFileContent - Force
128
127
129
128
# build is PS job so psake doesn't freak out because it's nested
130
- $script :jobs += Start-Job - ScriptBlock {
129
+ $script :jobs += Start-Job - Scriptblock {
131
130
Set-Location $using :tempDir
132
131
$global :PSBuildCompile = $true
133
132
./ build.ps1 - Task Build
0 commit comments