From 7a4087c7358e40414f2eb997418aa1c9d3ab968e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20du=20Hamel?= Date: Sun, 5 Jan 2025 17:54:32 +0100 Subject: [PATCH] tools: fix `vcbuild test` when path contain spaces --- vcbuild.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcbuild.bat b/vcbuild.bat index f93998d2b14901..170637e072e637 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -178,7 +178,7 @@ if defined package set stage_package=1 :: assign path to node_exe set "node_exe=%config%\node.exe" set "node_gyp_exe="%node_exe%" deps\npm\node_modules\node-gyp\bin\node-gyp" -set "npm_exe="%~dp0%node_exe%" %~dp0deps\npm\bin\npm-cli.js" +set "npm_exe="%~dp0%node_exe%" "%~dp0deps\npm\bin\npm-cli.js"" if "%target_env%"=="vs2022" set "node_gyp_exe=%node_gyp_exe% --msvs_version=2022" :: skip building if the only argument received was lint