Reviewed By: samwgoldman

Differential Revision: D4314897

fbshipit-source-id: fbe11da4c63bf34d010220d74177cb3ca4cbee6d
This commit is contained in:
Jeff Morrison authored and Facebook Github Bot committed 2016-12-13 18:58:34 -08:00
1 parent affd5ac681
commit d926aecd77
6 files changed
+10 -7

No files matched your search

+1
View File
@@ -114,6 +114,7 @@ class ModuleCache {
getPackageForModule(module: Module): ?Package {
if (this._packageModuleMap.has(module)) {
const packagePath = this._packageModuleMap.get(module);
// $FlowFixMe(>=0.37.0)
if (this._packageCache[packagePath]) {
return this._packageCache[packagePath];
} else {