Skip to content

Commit 07dac7b

Browse files
Update utils/build.ps1
Co-authored-by: Saleem Abdulrasool <[email protected]>
1 parent c9437b5 commit 07dac7b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

utils/build.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -801,8 +801,7 @@ function Invoke-IsolatingEnvVars([scriptblock]$Block) {
801801
}
802802
try {
803803
& $Block
804-
}
805-
finally {
804+
} finally {
806805
Remove-Item env:*
807806
foreach ($Var in $OldVars.GetEnumerator()) {
808807
New-Item -Path "env:\$($Var.Key)" -Value $Var.Value -ErrorAction Ignore | Out-Null

0 commit comments

Comments
 (0)