Skip to content

Commit 4b5ae9f

Browse files
Shivanshu SinghShivanshu Singh
authored andcommitted
fix to support node tunnel on mac m1
1 parent 15a6c9c commit 4b5ae9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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)) {

0 commit comments

Comments
 (0)