diff --git a/src/install-pnpm/run.ts b/src/install-pnpm/run.ts index 8132044..63f1eb6 100644 --- a/src/install-pnpm/run.ts +++ b/src/install-pnpm/run.ts @@ -58,7 +58,7 @@ async function readTarget(opts: { if (version) { if ( - typeof packageManager === 'string' && packageManager.includes("pnpm@") && + typeof packageManager === 'string' && packageManager.includes('pnpm@') && packageManager.replace('pnpm@', '') !== version ) { throw new Error(`Multiple versions of pnpm specified: