From d5bd7e8c9a3b4e8f53b0cc30f35038412eb9211e Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Wed, 12 Jun 2024 08:37:26 -0700 Subject: [PATCH] Update src/install-pnpm/run.ts --- src/install-pnpm/run.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/install-pnpm/run.ts b/src/install-pnpm/run.ts index 122527e..261aa6c 100644 --- a/src/install-pnpm/run.ts +++ b/src/install-pnpm/run.ts @@ -109,13 +109,13 @@ function getPnpmVersionFromLockfile( ): string | undefined { switch (true) { case lockfileVersion === '5.3': - return '6'; + return 'latest-6'; case lockfileVersion === '5.4': - return '7'; + return 'latest-7'; case lockfileVersion === '6.0' || lockfileVersion === '6.1': - return '8'; + return 'latest-8'; case lockfileVersion === '7.0' || lockfileVersion === '9.0': - return '9'; + return 'latest-9'; default: return undefined; }