Skip to content

Commit 0a22679

Browse files
committed
feat(MongoBinaryDownloadUrl::translateArch): handle more variations of the same arch
1 parent 9c8cbb7 commit 0a22679

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/mongodb-memory-server-core/src/util/MongoBinaryDownloadUrl.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,10 +463,13 @@ export class MongoBinaryDownloadUrl implements MongoBinaryDownloadUrlOpts {
463463
}
464464

465465
throw new UnknownArchitectureError(arch, mongoPlatform);
466+
case 'x86_64':
466467
case 'x64':
467468
return 'x86_64';
468469
case 'arm64':
469470
return 'arm64';
471+
case 'aarch64':
472+
return 'aarch64';
470473
default:
471474
throw new UnknownArchitectureError(arch);
472475
}

0 commit comments

Comments
 (0)