Skip to content

Commit eac6784

Browse files
authored
Fix npm commands not working with projects on a different disk on Windows (#8345)
1 parent c4cca8e commit eac6784

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

newIDE/electron-app/app/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ app.on('ready', function() {
679679
'start',
680680
'cmd.exe',
681681
'/k',
682-
`cd ${projectPath} && ${npmCommand}`,
682+
`cd /d ${projectPath} && ${npmCommand}`,
683683
],
684684
{
685685
detached: true,

0 commit comments

Comments
 (0)