fix: fix spawn EINVAL error in node 20 (#226)

This commit is contained in:
silon-j authored and GitHub committed 2026-05-17 14:35:31 +08:00
1 parent 2907f09e58
commit 86250a53d6
1 file changed
+2 -1
+2 -1
View File
@@ -17,7 +17,8 @@ spawn(
process.platform === 'win32' ? 'npm.cmd' : 'npm',
['run', 'dev'],
{
shell: true,
stdio: 'inherit',
env: Object.assign(process.env, { VSCODE_DEBUG: 'true' }),
},
)
)