Skip to content

Commit bbd566d

Browse files
authored
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 <vedc2853@gmail.com> PR-URL: #66475 Refs: #66467 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
1 parent c4af866 commit bbd566d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎vcbuild.bat‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ if "%target_env%"=="vs2026" set "node_gyp_exe=%node_gyp_exe% --msvs_version=2026
237237
if "%*"=="lint" if exist "%node_exe%" goto lint-cpp
238238

239239
:: skip building if the only argument received was format-md
240-
if "%*"=="format-md" if exist "%node_exe%" goto format-md
240+
if "%*"=="format-md" if exist "%node_exe%" goto lint-md-build
241241

242242
if "%config%"=="Debug" set configure_flags=%configure_flags% --debug
243243
if defined nosnapshot set configure_flags=%configure_flags% --without-snapshot
@@ -900,6 +900,7 @@ for /D %%D IN (doc\*) do (
900900
)
901901
%node_exe% tools\lint-md\lint-md.mjs --format %lint_md_files%
902902
ENDLOCAL
903+
goto exit
903904

904905
:no-lint
905906
echo Linting is not available through the source tarball.

0 commit comments

Comments
 (0)