uncommented condition
This commit is contained in:
parent
42c2a27b63
commit
63259a14e3
2 changed files with 5 additions and 5 deletions
6
dist/index.js
vendored
6
dist/index.js
vendored
|
@ -1109,9 +1109,9 @@ function findPyPyVersion(versionSpec, architecture) {
|
|||
let installDir;
|
||||
const pypyVersionSpec = parsePyPyVersion(versionSpec);
|
||||
// PyPy only precompiles binaries for x86, but the architecture parameter defaults to x64.
|
||||
/*if (IS_WINDOWS && architecture === 'x64') {
|
||||
architecture = 'x86';
|
||||
}*/
|
||||
if (utils_1.IS_WINDOWS && architecture === 'x64') {
|
||||
architecture = 'x86';
|
||||
}
|
||||
({ installDir, resolvedPythonVersion, resolvedPyPyVersion } = findPyPyToolCache(pypyVersionSpec.pythonVersion, pypyVersionSpec.pypyVersion, architecture));
|
||||
if (!installDir) {
|
||||
({
|
||||
|
|
|
@ -28,9 +28,9 @@ export async function findPyPyVersion(
|
|||
const pypyVersionSpec = parsePyPyVersion(versionSpec);
|
||||
|
||||
// PyPy only precompiles binaries for x86, but the architecture parameter defaults to x64.
|
||||
/*if (IS_WINDOWS && architecture === 'x64') {
|
||||
if (IS_WINDOWS && architecture === 'x64') {
|
||||
architecture = 'x86';
|
||||
}*/
|
||||
}
|
||||
|
||||
({installDir, resolvedPythonVersion, resolvedPyPyVersion} = findPyPyToolCache(
|
||||
pypyVersionSpec.pythonVersion,
|
||||
|
|
Loading…
Add table
Reference in a new issue