Minor fixes

This commit is contained in:
Vladimir Safonkin 2022-10-17 11:44:19 +02:00
parent 957735f5bc
commit d1ffee02d7
2 changed files with 2 additions and 3 deletions

2
dist/setup/index.js vendored
View File

@ -66632,7 +66632,7 @@ function findAssetForMacOrLinux(releases, architecture, platform) {
}
exports.findAssetForMacOrLinux = findAssetForMacOrLinux;
function ReplaceX32toX86(architecture) {
// convert x32 to x86 because os.arch() return x32 for 32-bit systems but PyPy releases json has x86 arch value.
// convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value.
if (architecture === 'x32') {
architecture = 'x86';
}

View File

@ -8,7 +8,6 @@ import fs from 'fs';
import {
IS_WINDOWS,
WINDOWS_ARCHS,
WINDOWS_PLATFORMS,
IPyPyManifestRelease,
createSymlinkInFolder,
@ -242,7 +241,7 @@ export function findAssetForMacOrLinux(
}
function ReplaceX32toX86(architecture: string): string {
// convert x32 to x86 because os.arch() return x32 for 32-bit systems but PyPy releases json has x86 arch value.
// convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value.
if (architecture === 'x32') {
architecture = 'x86';
}