Skip to content

Commit aa98dd0

Browse files
authored
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 e3071d5 commit aa98dd0

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
@@ -749,15 +749,15 @@ if errorlevel 1 goto exit
749749
goto lint-cpp
750750

751751
:lint-cpp
752-
if not defined lint_cpp goto lint-js
752+
if not defined lint_cpp goto lint-js-build
753753
if defined NODEJS_MAKE goto run-make-lint
754754
where make > NUL 2>&1 && make -v | findstr /C:"GNU Make" 1> NUL
755755
if "%ERRORLEVEL%"=="0" set "NODEJS_MAKE=make PYTHON=python" & goto run-make-lint
756756
where wsl > NUL 2>&1
757757
if "%ERRORLEVEL%"=="0" set "NODEJS_MAKE=wsl make" & goto run-make-lint
758758
echo Could not find GNU Make, needed for linting C/C++
759759
echo Alternatively, you can use WSL
760-
goto lint-js
760+
goto lint-js-build
761761

762762
:run-make-lint
763763
%NODEJS_MAKE% lint-cpp

0 commit comments

Comments
 (0)