Skip to content

Commit 0b3d6fa

Browse files
authored
Apply suggestions
1 parent c33319c commit 0b3d6fa

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

vcbuild.bat

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -590,9 +590,7 @@ if not defined doc if not defined build_addons (
590590
)
591591
if exist "tools\doc\node_modules\unified\package.json" goto skip-install-doctools
592592
SETLOCAL
593-
cd tools\doc
594-
%npm_exe% ci
595-
cd ..\..
593+
%npm_exe% --prefix tools\doc ci
596594
if errorlevel 1 goto exit
597595
ENDLOCAL
598596
:skip-install-doctools
@@ -735,9 +733,7 @@ goto lint-js-build
735733

736734
:lint-js-build
737735
if not defined lint_js_build if not defined lint_js if not defined lint_js_fix goto lint-md-build
738-
cd tools\eslint
739-
%npm_exe% ci
740-
cd ..\..
736+
%npm_exe% --prefix tools\eslint ci
741737

742738
:lint-js
743739
if not defined lint_js goto lint-js-fix
@@ -755,9 +751,7 @@ goto lint-md-build
755751

756752
:lint-md-build
757753
if not defined lint_md if not defined format_md goto lint-md
758-
cd tools\lint-md
759-
%npm_exe% ci
760-
cd ..\..
754+
%npm_exe% --prefix tools\lint-md ci
761755

762756
:lint-md
763757
if not defined lint_md goto format-md

0 commit comments

Comments
 (0)