From 368ef3ef4bbb960f3ce0872fdad911e9601a3e84 Mon Sep 17 00:00:00 2001 From: Gabe Levi Date: Mon, 28 Nov 2016 10:10:38 -0800 Subject: [PATCH] Deploy v0.36.0 Reviewed By: zertosh Differential Revision: D4237912 fbshipit-source-id: cc251884350ffa3c8715a4920f90bd301e8a9b7f --- react-packager/src/Bundler/BundleBase.js | 3 +++ react-packager/src/node-haste/Cache/index.js | 3 +++ 2 files changed, 6 insertions(+) diff --git a/react-packager/src/Bundler/BundleBase.js b/react-packager/src/Bundler/BundleBase.js index a39a14f6..e53dad56 100644 --- a/react-packager/src/Bundler/BundleBase.js +++ b/react-packager/src/Bundler/BundleBase.js @@ -14,6 +14,9 @@ const ModuleTransport = require('../lib/ModuleTransport'); export type FinalizeOptions = { allowUpdates?: boolean, + /* $FlowFixMe(>=0.36.0 site=react_native_fb) Flow error detected during the + * deploy of Flow v0.36.0. To see the error, remove this comment and run Flow + */ runBeforeMainModule?: Array, runMainModule?: boolean, }; diff --git a/react-packager/src/node-haste/Cache/index.js b/react-packager/src/node-haste/Cache/index.js index 68eaa044..a562761c 100644 --- a/react-packager/src/node-haste/Cache/index.js +++ b/react-packager/src/node-haste/Cache/index.js @@ -161,6 +161,9 @@ class Cache { const ret = (Object.create(null): Record); ret.metadata = record.metadata; ret.data = Object.create(null); + /* $FlowFixMe(>=0.36.0 site=react_native_fb) Flow error detected + * during the deploy of Flow v0.36.0. To see the error, remove this + * comment and run Flow */ fieldNames.forEach((field, index) => ret.data[field] = ref[index] );