mirror of
https://code.forgejo.org/pnpm/action-setup.git
synced 2025-05-18 04:34:44 +00:00
Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
![]() |
d648c2dd06 |
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ async function readTarget(opts: {
|
|||
if (version) {
|
||||
if (
|
||||
typeof packageManager === 'string' &&
|
||||
packageManager.startsWith('pnpm@') &&
|
||||
packageManager.replace('pnpm@', '') !== version
|
||||
) {
|
||||
throw new Error(`Multiple versions of pnpm specified:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue