Skip to content

Commit

Permalink
Build error Resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
aakash-a-dev committed Dec 26, 2024
1 parent 4d870d5 commit aa864e7
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions packages/api/exec.mts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit aa864e7

Please sign in to comment.