ci: use tunnelApplicationName (#164257)

fix location of tunnel command in CI and in code
This commit is contained in:
Martin Aeschlimann
2022-10-23 19:12:23 +02:00
committed by GitHub
parent 0091bcae20
commit f10e84118b
14 changed files with 71 additions and 40 deletions
+1 -1
View File
@@ -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());