mirror of
https://github.com/pnpm/action-setup.git
synced 2026-06-20 16:13:44 +08:00
Compare commits
2 Commits
91010c862d
...
1bd7a60fd3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1bd7a60fd3 | ||
|
|
d648c2dd06 |
@@ -65,6 +65,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:
|
||||
|
||||
Reference in New Issue
Block a user