Skip to content

Commit b72f5d7

Browse files
authored
Merge pull request #16 from Shivanshu-lambdatest/IN-1533
fix to support node tunnel on mac m1
2 parents 1aa2003 + 05eeea5 commit b72f5d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/tunnel_binary.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function TunnelBinary(httpTunnelConfig, options) {
2323
}
2424
this.httpTunnelConfig = httpTunnelConfig;
2525
this.hostOS = process.platform;
26-
this.bits = process.arch === 'x64' ? '64bit' : '32bit';
26+
this.bits = process.arch === 'x64' || process.arch === 'arm64' ? '64bit' : '32bit';
2727
if (this.hostOS.match(/darwin|mac os/i)) {
2828
this.platform = 'mac';
2929
} else if (this.hostOS.match(/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lambdatest/node-tunnel",
3-
"version": "3.0.5",
3+
"version": "3.0.6",
44
"description": "Nodejs bindings for LambdaTest Tunnel",
55
"main": "index.js",
66
"repository": {

0 commit comments

Comments
 (0)