| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -183,7 +183,7 @@ if defined package set stage_package=1 | |||
| 183 | 183 | :: assign path to node_exe | |
| 184 | 184 | set "node_exe=%config%\node.exe" | |
| 185 | 185 | set "node_gyp_exe="%node_exe%" deps\npm\node_modules\node-gyp\bin\node-gyp" | |
| 186 | - set "npm_exe="%~dp0%node_exe%" %~dp0deps\npm\bin\npm-cli.js" | ||
| 186 | + set "npm_exe="%node_exe%" deps\npm\bin\npm-cli.js" | ||
| 187 | 187 | if "%target_env%"=="vs2022" set "node_gyp_exe=%node_gyp_exe% --msvs_version=2022" | |
| 188 | 188 | if "%target_env%"=="vs2026" set "node_gyp_exe=%node_gyp_exe% --msvs_version=2026" | |
| 189 | 189 | ||
@@ -625,9 +625,7 @@ if not defined doc if not defined build_addons ( | |||
| 625 | 625 | ) | |
| 626 | 626 | if exist "tools\doc\node_modules\unified\package.json" goto skip-install-doctools | |
| 627 | 627 | SETLOCAL | |
| 628 | - cd tools\doc | ||
| 629 | - %npm_exe% ci | ||
| 630 | - cd ..\.. | ||
| 628 | + %npm_exe% --prefix tools\doc ci | ||
| 631 | 629 | if errorlevel 1 goto exit | |
| 632 | 630 | ENDLOCAL | |
| 633 | 631 | :skip-install-doctools | |
@@ -770,9 +768,7 @@ goto lint-js-build | |||
| 770 | 768 | ||
| 771 | 769 | :lint-js-build | |
| 772 | 770 | if not defined lint_js_build if not defined lint_js if not defined lint_js_fix goto lint-md-build | |
| 773 | - cd tools\eslint | ||
| 774 | - %npm_exe% ci | ||
| 775 | - cd ..\.. | ||
| 771 | + %npm_exe% --prefix tools\eslint ci | ||
| 776 | 772 | ||
| 777 | 773 | :lint-js | |
| 778 | 774 | if not defined lint_js goto lint-js-fix | |
@@ -790,9 +786,7 @@ goto lint-md-build | |||
| 790 | 786 | ||
| 791 | 787 | :lint-md-build | |
| 792 | 788 | if not defined lint_md if not defined format_md goto lint-md | |
| 793 | - cd tools\lint-md | ||
| 794 | - %npm_exe% ci | ||
| 795 | - cd ..\.. | ||
| 789 | + %npm_exe% --prefix tools\lint-md ci | ||
| 796 | 790 | ||
| 797 | 791 | :lint-md | |
| 798 | 792 | if not defined lint_md goto format-md | |
| Back | FazBrowse Home | New Git URL |
0 commit comments