diff --git a/vcbuild.bat b/vcbuild.bat index 18b0f3aa6fdaed..5cb863e3c1bcc6 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -752,7 +752,7 @@ if errorlevel 1 goto exit goto lint-cpp :lint-cpp -if not defined lint_cpp goto lint-js +if not defined lint_cpp goto lint-js-build if defined NODEJS_MAKE goto run-make-lint where make > NUL 2>&1 && make -v | findstr /C:"GNU Make" 1> NUL if "%ERRORLEVEL%"=="0" set "NODEJS_MAKE=make PYTHON=python" & goto run-make-lint @@ -760,7 +760,7 @@ where wsl > NUL 2>&1 if "%ERRORLEVEL%"=="0" set "NODEJS_MAKE=wsl make" & goto run-make-lint echo Could not find GNU Make, needed for linting C/C++ echo Alternatively, you can use WSL -goto lint-js +goto lint-js-build :run-make-lint %NODEJS_MAKE% lint-cpp