mirror of
https://github.com/pnpm/action-setup.git
synced 2026-06-28 07:57:54 +00:00
undoing changes to bootstrap version
This commit is contained in:
parent
3f8dcbc962
commit
1f59322ca8
@ -127,7 +127,7 @@ function readTargetVersion(opts: {
|
|||||||
|
|
||||||
const definedVersions = new Set([version, packageManagerVersion, devEnginesVersion].filter(v => !!v))
|
const definedVersions = new Set([version, packageManagerVersion, devEnginesVersion].filter(v => !!v))
|
||||||
if (definedVersions.size > 1) {
|
if (definedVersions.size > 1) {
|
||||||
throw new Error(`Multiple conflicting pnpm versions specified: ${[...definedVersions].join(', ')}
|
throw new Error(`Multiple conflicting pnpm versions specified:
|
||||||
- version ${version ?? "undefined"} in the GitHub Action config with the key "version"
|
- version ${version ?? "undefined"} in the GitHub Action config with the key "version"
|
||||||
- version ${packageManagerVersion ?? "undefined"} in the package.json with the key "packageManager"
|
- version ${packageManagerVersion ?? "undefined"} in the package.json with the key "packageManager"
|
||||||
- version ${devEnginesVersion ?? "undefined"} in the package.json with the key "devEngines.packageManager"
|
- version ${devEnginesVersion ?? "undefined"} in the package.json with the key "devEngines.packageManager"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user