GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix reference to wrong variable · react/react@154a8cf

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • scripts/rollup
    • build-all-release-channels.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎scripts/rollup/build-all-release-channels.js‎

Copy file name to clipboardExpand all lines: scripts/rollup/build-all-release-channels.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,14 +198,14 @@ function updatePackageVersions(
198198

199199
if (packageInfo.dependencies) {
200200
for (const dep of Object.keys(packageInfo.dependencies)) {
201-
if (modulesDir.includes(dep)) {
201+
if (versionsMap.has(dep)) {
202202
packageInfo.dependencies[dep] = version;
203203
}
204204
}
205205
}
206206
if (packageInfo.peerDependencies) {
207207
for (const dep of Object.keys(packageInfo.peerDependencies)) {
208-
if (modulesDir.includes(dep)) {
208+
if (versionsMap.has(dep)) {
209209
packageInfo.peerDependencies[dep] = version;
210210
}
211211
}

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.