Skip to content

Commit 9c39fe8

Browse files
committed
Don't need to pass 'shell' as arg
When calling shell.js, we don't need to pass 'shell' as an argument. This was only needed when calling helper.js
1 parent 7d41122 commit 9c39fe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ class DeviceTreeItem extends vscode.TreeItem {
499499
const port = this.device.shellPort.toString();
500500
const term = vscode.window.createTerminal(`SSH: ${this.label}`,
501501
isWin32 ? helperExePath : '/usr/bin/env',
502-
isWin32 ? ['shell', port] : ['ELECTRON_RUN_AS_NODE=1', process.execPath, shellPath, 'shell', port]);
502+
isWin32 ? ['shell', port] : ['ELECTRON_RUN_AS_NODE=1', process.execPath, shellPath, port]);
503503
term.show();
504504
}
505505

0 commit comments

Comments
 (0)