Skip to content

Commit 2babf9a

Browse files
committed
chore: 🔄 Update Start-Job to use ScriptBlock for consistency
* Changed `Scriptblock` to `ScriptBlock` in `build.tests.ps1` for uniformity. * Ensures adherence to PowerShell naming conventions.
1 parent 0545e92 commit 2babf9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/build.tests.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Describe 'Build' {
1919
Write-Host "OutputPath: $script:testModuleOutputPath"
2020

2121
# build is PS job so psake doesn't freak out because it's nested
22-
Start-Job -Scriptblock {
22+
Start-Job -ScriptBlock {
2323
Set-Location $using:PSScriptRoot/TestModule
2424
$global:PSBuildCompile = $true
2525
./build.ps1 -Task Build
@@ -71,7 +71,7 @@ Describe 'Build' {
7171
Context 'Dot-sourced module' {
7272
BeforeAll {
7373
# build is PS job so psake doesn't freak out because it's nested
74-
Start-Job -Scriptblock {
74+
Start-Job -ScriptBlock {
7575
Set-Location $using:PSScriptRoot/TestModule
7676
$global:PSBuildCompile = $false
7777
./build.ps1 -Task Build

0 commit comments

Comments
 (0)