Removed verification of matching @providesModule and filenames

Reviewed By: jeanlauliac

Differential Revision: D7758146

fbshipit-source-id: f74e5bd879d1ca562380cd942266e22e88ac7432
This commit is contained in:
Rubén Norte 2018-04-26 07:11:50 -07:00 committed by Facebook Github Bot
parent eb21f2df5b
commit fc9bd150e3
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ function transformModule(
null,
options.hasteImplModulePath,
): HasteImpl);
hasteID = HasteImpl.getHasteName(filename, sourceCode);
hasteID = HasteImpl.getHasteName(filename);
} else {
hasteID = docblock.parse(docblock.extract(sourceCode)).providesModule;
}