From 93313caf82afbdb49b8e4790ac7f1c97c8034826 Mon Sep 17 00:00:00 2001 From: David Kale Date: Wed, 20 Nov 2019 15:30:44 -0500 Subject: [PATCH] Add extra info --- src/installer.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/installer.ts b/src/installer.ts index c15decb9..d1546ffc 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -234,6 +234,9 @@ async function acquireNodeFromFallbackLocation( // os.arch does not always match the relative download url, e.g. // os.arch == 'arm' != node-v12.13.1-linux-armv7l.tar.gz +// All other currently supported architectures match, e.g.: +// os.arch = arm64 => https://nodejs.org/dist/v{VERSION}/node-v{VERSION}-{OS}-arm64.tar.gz +// os.arch = x64 => https://nodejs.org/dist/v{VERSION}/node-v{VERSION}-{OS}-x64.tar.gz function translateArchToDistUrl(arch: string): string { switch (arch) { case 'arm':