Skip to content

Commit c227903

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 8750a30 commit c227903

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
@@ -724,15 +724,15 @@ if errorlevel 1 goto exit
724724
goto lint-cpp
725725

726726
:lint-cpp
727-
if not defined lint_cpp goto lint-js
727+
if not defined lint_cpp goto lint-js-build
728728
if defined NODEJS_MAKE goto run-make-lint
729729
where make > NUL 2>&1 && make -v | findstr /C:"GNU Make" 1> NUL
730730
if "%ERRORLEVEL%"=="0" set "NODEJS_MAKE=make PYTHON=python" & goto run-make-lint
731731
where wsl > NUL 2>&1
732732
if "%ERRORLEVEL%"=="0" set "NODEJS_MAKE=wsl make" & goto run-make-lint
733733
echo Could not find GNU Make, needed for linting C/C++
734734
echo Alternatively, you can use WSL
735-
goto lint-js
735+
goto lint-js-build
736736

737737
:run-make-lint
738738
%NODEJS_MAKE% lint-cpp

0 commit comments

Comments
 (0)