mirror of
https://github.com/status-im/metro.git
synced 2025-01-10 02:55:46 +00:00
b3b2d10500
Summary: It might be that Metro bundler is getting used directly with the `http` module and not within an express app. If that's the case, the `next` method will not exist, so we have to guard against it. Reviewed By: davidaurelio Differential Revision: D5639944 fbshipit-source-id: bcee4a70f6a7b643218b11af0d8aedbc7762eead