mirror of
https://github.com/pnpm/action-setup.git
synced 2025-04-06 02:39:33 +08:00
Compare commits
No commits in common. "master" and "v4" have entirely different histories.
|
@ -64,7 +64,6 @@ 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