mirror of
https://github.com/actions/setup-python.git
synced 2025-04-24 15:32:13 +00:00
Minor fixes
This commit is contained in:
parent
957735f5bc
commit
d1ffee02d7
2 changed files with 2 additions and 3 deletions
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
|
@ -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';
|
||||
}
|
||||
|
|
|
@ -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';
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue