Skip to content

Commit

Permalink
Fix reference to wrong variable
Browse files Browse the repository at this point in the history
Follow-up to facebook#21608
  • Loading branch information
acdlite authored and koto committed Jun 15, 2021
1 parent 7e8e8ea commit 894f30d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/rollup/build-all-release-channels.js
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 894f30d

Please sign in to comment.