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:
Adam Miskiewicz
2016-01-28 15:18:04 -08:00
committed by facebook-github-bot-1
parent e9f95c1a7d
commit b7b27bdf25

View File

@@ -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