mirror of https://github.com/status-im/metro.git
Minor typo in Error message
Summary: Closes https://github.com/facebook/react-native/pull/8001 Differential Revision: D3404663 fbshipit-source-id: 0d0af84e4f6d31e6ddf79ef4e263737542b81361
This commit is contained in:
parent
dee7aadd28
commit
a4c9a2d0a6
|
@ -32,7 +32,7 @@ class BundleBase {
|
||||||
|
|
||||||
addModule(module) {
|
addModule(module) {
|
||||||
if (!(module instanceof ModuleTransport)) {
|
if (!(module instanceof ModuleTransport)) {
|
||||||
throw new Error('Expeceted a ModuleTransport object');
|
throw new Error('Expected a ModuleTransport object');
|
||||||
}
|
}
|
||||||
|
|
||||||
return this._modules.push(module) - 1;
|
return this._modules.push(module) - 1;
|
||||||
|
|
Loading…
Reference in New Issue