From 8479b2373300c9548ede8832168ee1d797fd5978 Mon Sep 17 00:00:00 2001 From: vedchaudhari Date: Sat, 3 Oct 2026 13:38:26 +0530 Subject: [PATCH] build: fix vcbuild format-md install and exit Install the Markdown linter before formatting and exit afterwards. Assisted-by: Claude Code Signed-off-by: vedchaudhari --- vcbuild.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vcbuild.bat b/vcbuild.bat index 614346405747..a88681ed4d0e 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -237,7 +237,7 @@ if "%target_env%"=="vs2026" set "node_gyp_exe=%node_gyp_exe% --msvs_version=2026 if "%*"=="lint" if exist "%node_exe%" goto lint-cpp :: skip building if the only argument received was format-md -if "%*"=="format-md" if exist "%node_exe%" goto format-md +if "%*"=="format-md" if exist "%node_exe%" goto lint-md-build if "%config%"=="Debug" set configure_flags=%configure_flags% --debug if defined nosnapshot set configure_flags=%configure_flags% --without-snapshot @@ -900,6 +900,7 @@ for /D %%D IN (doc\*) do ( ) %node_exe% tools\lint-md\lint-md.mjs --format %lint_md_files% ENDLOCAL +goto exit :no-lint echo Linting is not available through the source tarball.