Skip to content

Commit babfffb

Browse files
committed
Update Initialize-DevEnvironment.ps1
1 parent e0ed775 commit babfffb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/Initialize-DevEnvironment.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ foreach ($Key in $CIPPSettings.PSObject.Properties.Name) {
1010
}
1111

1212
$PowerShellWorkerRoot = Join-Path $env:ProgramFiles 'Microsoft\Azure Functions Core Tools\workers\powershell\7.4\Microsoft.Azure.Functions.PowerShellWorker.dll'
13-
if (Test-Path $PowerShellWorkerRoot -and !('Microsoft.Azure.Functions.PowerShellWorker' -as [type])) {
13+
if ((Test-Path $PowerShellWorkerRoot) -and !('Microsoft.Azure.Functions.PowerShellWorker' -as [type])) {
1414
Write-Information "Loading PowerShell Worker from $PowerShellWorkerRoot"
1515
Add-Type -Path $PowerShellWorkerRoot
1616
}

0 commit comments

Comments
 (0)