mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-09 09:12:06 +08:00
Fixing typo in Bundler
Summary: With an upgraded Babel dependency, failing tests correctly found this typo. It does not currently cause a test failure in the current version of master, however, which is concerning. I found it when testing #5214. cc martinbigio just because it was your code :) Closes https://github.com/facebook/react-native/pull/5601 Reviewed By: svcscm Differential Revision: D2876386 Pulled By: androidtrunkagent fb-gh-sync-id: 378da39be79ac1b9a950ea9a7442ac24c0c3a87d
This commit is contained in:
committed by
facebook-github-bot-1
parent
e9f95c1a7d
commit
b7b27bdf25
2
packager/react-packager/src/Bundler/index.js
vendored
2
packager/react-packager/src/Bundler/index.js
vendored
@@ -258,7 +258,7 @@ class Bundler {
|
||||
: [];
|
||||
|
||||
const modulesToProcess = modules || response.dependencies;
|
||||
const dependencies = moduleSystemDeps.concat(modulesToProcess);
|
||||
dependencies = moduleSystemDeps.concat(modulesToProcess);
|
||||
|
||||
bundle.setNumPrependedModules && bundle.setNumPrependedModules(
|
||||
response.numPrependedDependencies + moduleSystemDeps.length
|
||||
|
||||
Reference in New Issue
Block a user