mirror of
https://github.com/pnpm/action-setup.git
synced 2026-07-07 13:25:36 +00:00
Compare commits
2 Commits
8f1404822d
...
6f71a44c65
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6f71a44c65 | ||
|
|
d648c2dd06 |
@ -64,6 +64,7 @@ async function readTarget(opts: {
|
|||||||
if (version) {
|
if (version) {
|
||||||
if (
|
if (
|
||||||
typeof packageManager === 'string' &&
|
typeof packageManager === 'string' &&
|
||||||
|
packageManager.startsWith('pnpm@') &&
|
||||||
packageManager.replace('pnpm@', '') !== version
|
packageManager.replace('pnpm@', '') !== version
|
||||||
) {
|
) {
|
||||||
throw new Error(`Multiple versions of pnpm specified:
|
throw new Error(`Multiple versions of pnpm specified:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user