Skip to content

Commit be9124c

Browse files
committed
Specify LastExit scope
1 parent c7d6bd6 commit be9124c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

eng/common/sdl/run-sdl.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Param(
1313
$ErrorActionPreference = 'Stop'
1414
Set-StrictMode -Version 2.0
1515
$disableConfigureToolsetImport = $true
16-
$LASTEXITCODE = 0
16+
$global:LASTEXITCODE = 0
1717

1818
try {
1919
# `tools.ps1` checks $ci to perform some actions. Since the SDL

0 commit comments

Comments
 (0)