@@ -14,7 +14,6 @@ Describe 'Build' {
1414 }
1515
1616 AfterAll {
17- Set-Location $PSScriptRoot
1817 $jobs | Stop-Job - ErrorAction Ignore
1918 $jobs | Remove-Job - ErrorAction Ignore
2019 }
@@ -25,7 +24,7 @@ Describe 'Build' {
2524 Write-Host " OutputPath: $script :testModuleOutputPath "
2625
2726 # 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 {
2928 Set-Location $using :tempDir
3029 $global :PSBuildCompile = $true
3130 ./ build.ps1 - Task Build
@@ -77,7 +76,7 @@ Describe 'Build' {
7776 Context ' Dot-sourced module' {
7877 BeforeAll {
7978 # 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 {
8180 Set-Location $using :tempDir
8281 $global :PSBuildCompile = $false
8382 ./ build.ps1 - Task Build
@@ -127,7 +126,7 @@ Describe 'Build' {
127126 Set-Content $psakeFile - Value $psakeFileContent - Force
128127
129128 # 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 {
131130 Set-Location $using :tempDir
132131 $global :PSBuildCompile = $true
133132 ./ build.ps1 - Task Build
0 commit comments