Fix typo in error handler (#24940)

Summary:
Fixes a typo!

## Changelog

[Android] [Fixed] - Typo in NativeModuleRegistryBuilder error handler
Pull Request resolved: https://github.com/facebook/react-native/pull/24940

Differential Revision: D15411931

Pulled By: cpojer

fbshipit-source-id: c5d9305e00160a3a2e8619188ccff77a5b39e910
This commit is contained in:
Eric Lewis
2019-05-20 02:44:34 -07:00
committed by Facebook Github Bot
parent 5a30c2a205
commit 2231263b8b
@@ -52,7 +52,7 @@ public class NativeModuleRegistryBuilder {
+ name
+ " tried to override "
+ existingNativeModule.getClassName()
+ " for module name .Check the getPackages() method in MainApplication.java, it might be that module is being created twice. If this was your intention, set canOverrideExistingModule=true");
+ ". Check the getPackages() method in MainApplication.java, it might be that module is being created twice. If this was your intention, set canOverrideExistingModule=true");
}
mModules.remove(existingNativeModule);
}