@allow-large-files clean up xplat/js for flow 0.70.0

Reviewed By: fishythefish

Differential Revision: D7643236

fbshipit-source-id: 1d9a95f1e249ce3fdc552a4ca92a6c63b267dae4
This commit is contained in:
Avik Chaudhuri
2018-04-17 05:37:02 -07:00
committed by Facebook Github Bot
parent 6de4ff36b0
commit d2a1461d26
9 changed files with 32 additions and 5 deletions

View File

@@ -42,6 +42,9 @@ function getProjectPath() {
const resolveSymlinksForRoots = roots =>
roots.reduce(
/* $FlowFixMe(>=0.70.0 site=react_native_fb) This comment suppresses an
* error found when Flow v0.70 was deployed. To see the error delete this
* comment and run Flow. */
(arr, rootPath) => arr.concat(findSymlinkedModules(rootPath, roots)),
[...roots],
);