We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b036c0d commit 7ce3debCopy full SHA for 7ce3deb
src/install-pnpm/run.ts
@@ -55,7 +55,10 @@ async function readTarget(opts: {
55
}
56
57
if (version) {
58
- if (typeof packageManager === 'string') {
+ if (
59
+ typeof packageManager === 'string' &&
60
+ packageManager.replace('pnpm@', '') !== version
61
+ ) {
62
throw new Error(`Multiple versions of pnpm specified:
63
- version ${version} in the GitHub Action config with the key "version"
64
- version ${packageManager} in the package.json with the key "packageManager"
0 commit comments