Skip to content

Commit 2714c39

Browse files
committed
More review comments
1 parent ac8cc90 commit 2714c39

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

frontend.bat

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,6 @@ set vswfilter=!vswPriority!
459459

460460
:_vswAttempt
461461
call :dbgprint "attempts with filter: " vswfilter vswPreRel
462-
call :dbgprint " using: " vswbin
463462

464463
set "vspath=" & set "vsver="
465464
for /F "usebackq tokens=1* delims=: " %%a in (`"!vswbin!" -nologo !vswPreRel! -requires !vswfilter! Microsoft.Component.MSBuild`) do (
@@ -527,7 +526,7 @@ for /F "tokens=1,2 delims=." %%a in ("!vsver!") do (
527526
REM VS2019 changes the path
528527
if !vsver! geq 16 set vsver=Current
529528

530-
if not exist "!vspath!\MSBuild\!vsver!\Bin" set "%3=" & exit /B 0
529+
if not exist "!vspath!\MSBuild\!vsver!\Bin" set "%3=" & exit /B %ERROR_PATH_NOT_FOUND%
531530

532531
set _msbp=!vspath!\MSBuild\!vsver!\Bin
533532
call :dbgprint "found path via vswhere: " _msbp

0 commit comments

Comments
 (0)