mirror of
https://github.com/microsoft/vscode.git
synced 2026-06-01 13:15:50 +01:00
ci: use tunnelApplicationName (#164257)
fix location of tunnel command in CI and in code
This commit is contained in:
committed by
GitHub
parent
0091bcae20
commit
f10e84118b
@@ -61,7 +61,7 @@ export async function main(argv: string[]): Promise<any> {
|
||||
} else {
|
||||
const tunnelCommand = join(dirname(process.execPath), 'bin', `${product.tunnelApplicationName}${isWindows ? '.exe' : ''}`);
|
||||
const tunnelArgs = argv.slice(3);
|
||||
tunnelProcess = spawn(tunnelCommand, tunnelArgs);
|
||||
tunnelProcess = spawn(tunnelCommand, ['tunnel', ...tunnelArgs]);
|
||||
}
|
||||
tunnelProcess.stdout.on('data', data => {
|
||||
console.log(data.toString());
|
||||
|
||||
Reference in New Issue
Block a user