Skip to content

Commit fbd0ec8

Browse files
committed
fixup: fall back to process.platform
1 parent 7958762 commit fbd0ec8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/build/src/packaging/download-crypt-library.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export async function downloadCryptLibrary(
3838
if (/ppc64|s390x/.test(opts.arch || process.arch)) {
3939
versionSpec = 'stable';
4040
}
41-
if (opts.platform === 'darwin') {
41+
if ((opts.platform || process.platform) === 'darwin') {
4242
versionSpec = '8.0.5'; // TBD(SERVER-101020): Figure out at what point we use a later version.
4343
}
4444
const { downloadedBinDir: libdir, version } =

0 commit comments

Comments
 (0)