Skip to content

Commit

Permalink
Update src/install-pnpm/run.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored Jun 12, 2024
1 parent 44def78 commit d5bd7e8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/install-pnpm/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit d5bd7e8

Please sign in to comment.