Skip to content

Commit 0e53c48

Browse files
vmorozaduh95
authored andcommitted
tools: fix vcbuild lint-js-build
PR-URL: #61318 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Aviv Keller <me@aviv.sh> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
1 parent ce417b1 commit 0e53c48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vcbuild.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -732,15 +732,15 @@ if errorlevel 1 goto exit
732732
goto lint-cpp
733733

734734
:lint-cpp
735-
if not defined lint_cpp goto lint-js
735+
if not defined lint_cpp goto lint-js-build
736736
if defined NODEJS_MAKE goto run-make-lint
737737
where make > NUL 2>&1 && make -v | findstr /C:"GNU Make" 1> NUL
738738
if "%ERRORLEVEL%"=="0" set "NODEJS_MAKE=make PYTHON=python" & goto run-make-lint
739739
where wsl > NUL 2>&1
740740
if "%ERRORLEVEL%"=="0" set "NODEJS_MAKE=wsl make" & goto run-make-lint
741741
echo Could not find GNU Make, needed for linting C/C++
742742
echo Alternatively, you can use WSL
743-
goto lint-js
743+
goto lint-js-build
744744

745745
:run-make-lint
746746
%NODEJS_MAKE% lint-cpp

0 commit comments

Comments
 (0)