Skip to content

Commit a1f7fb7

Browse files
author
Kanhaiya Lal Singh
committed
New binary release
1 parent 9d755a7 commit a1f7fb7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/tunnel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ function retryTunnelName_(self, infoAPIPort, retries, fnCallback) {
897897
self.options,
898898
'Number of retries to to get tunnel name exceeded.'
899899
);
900-
if (globalForceRetries == 0) {
900+
if (globalForceRetries <= 0) {
901901
console.log(`
902902
Failed to run tunnel binary may be due to
903903
Tunnel server ts.lambdatest.com not reachable. Please run curl ts.lambdatest.com/health" to check

lib/tunnel_binary.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ function TunnelBinary(httpTunnelConfig, options) {
218218
} else {
219219
console.log(`Binary is deprecated`);
220220
fs.writeFileSync(
221-
__dirname + '/cfg/node-tunnel-config-v3.json',
221+
__dirname + '/cfg/node-tunnel-config-v3-latest.json',
222222
JSON.stringify(this.httpTunnelConfig.jsonResponse)
223223
);
224224
localTunnelConfig_ = this.httpTunnelConfig.jsonResponse;

0 commit comments

Comments
 (0)