From aa864e7ffd44105f0f91306d2119a0802b6201dc Mon Sep 17 00:00:00 2001 From: Aakash Date: Thu, 26 Dec 2024 23:23:25 +0530 Subject: [PATCH] Build error Resolved --- packages/api/exec.mts | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/packages/api/exec.mts b/packages/api/exec.mts index 355aca72..de690b40 100644 --- a/packages/api/exec.mts +++ b/packages/api/exec.mts @@ -229,15 +229,7 @@ export function vite(options: NpxRequestType) { if (process.platform === 'win32') { const npmCommand = Path.join(process.env.SystemRoot || 'C:\\Windows', 'System32', 'cmd.exe'); - const fullArgs = [ - '/c', - 'npm', - 'exec', - '--yes', - '--', - 'vite', - ...(args || []), - ]; + const fullArgs = ['/c', 'npm', 'exec', '--yes', '--', 'vite', ...(args || [])]; return spawnCall({ ...options,