From d1ffee02d7c4997f49bb13b50c4898cd5f0d2272 Mon Sep 17 00:00:00 2001 From: Vladimir Safonkin Date: Mon, 17 Oct 2022 11:44:19 +0200 Subject: [PATCH] Minor fixes --- dist/setup/index.js | 2 +- src/install-pypy.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index f270dac0..3bc2f320 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -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'; } diff --git a/src/install-pypy.ts b/src/install-pypy.ts index 9028c257..1ab48ab4 100644 --- a/src/install-pypy.ts +++ b/src/install-pypy.ts @@ -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'; }