From 1295d37ff67b5e3b13cbda6176b99f5a73135536 Mon Sep 17 00:00:00 2001 From: Xiangxi Meng Date: Tue, 2 Sep 2025 07:27:16 +0800 Subject: [PATCH] Add the missing quotation mark (#9772) Signed-off-by: Xiangxi Meng --- src/main/services/CodeToolsService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/services/CodeToolsService.ts b/src/main/services/CodeToolsService.ts index 256b4dcbd6..66575870c7 100644 --- a/src/main/services/CodeToolsService.ts +++ b/src/main/services/CodeToolsService.ts @@ -323,7 +323,7 @@ class CodeToolsService { ? `set "BUN_INSTALL=${bunInstallPath}" && set "NPM_CONFIG_REGISTRY=${registryUrl}" &&` : `export BUN_INSTALL="${bunInstallPath}" && export NPM_CONFIG_REGISTRY="${registryUrl}" &&` - const installCommand = `${installEnvPrefix} ${bunPath} install -g ${packageName}` + const installCommand = `${installEnvPrefix} "${bunPath}" install -g ${packageName}` baseCommand = `echo "Installing ${packageName}..." && ${installCommand} && echo "Installation complete, starting ${cliTool}..." && ${baseCommand}` }