From a46bf95619a8bcbeac0033e8932d547761de13b7 Mon Sep 17 00:00:00 2001 From: Vladimir Morozov Date: Thu, 8 Jan 2026 14:29:53 -0800 Subject: [PATCH] tools: fix vcbuild lint-js-build --- vcbuild.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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