Skip to content

Commit

Permalink
Fix reference to wrong variable
Browse files Browse the repository at this point in the history
Follow-up to #21608
  • Loading branch information
acdlite committed Jun 3, 2021
1 parent 6736a38 commit 154a8cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/rollup/build-all-release-channels.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,14 +198,14 @@ function updatePackageVersions(

if (packageInfo.dependencies) {
for (const dep of Object.keys(packageInfo.dependencies)) {
if (modulesDir.includes(dep)) {
if (versionsMap.has(dep)) {
packageInfo.dependencies[dep] = version;
}
}
}
if (packageInfo.peerDependencies) {
for (const dep of Object.keys(packageInfo.peerDependencies)) {
if (modulesDir.includes(dep)) {
if (versionsMap.has(dep)) {
packageInfo.peerDependencies[dep] = version;
}
}
Expand Down

0 comments on commit 154a8cf

Please sign in to comment.