Upgrade metro to 0.65.0
Summary: Upgrade metro to 0.65.0 Reviewed By: passy Differential Revision: D26222885 fbshipit-source-id: bb386ae4bc913d47d9f3431368e45c6319f0d65d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e09e3c82ee
commit
9fe82dd6c7
@@ -1,16 +0,0 @@
|
||||
diff --git a/node_modules/metro-runtime/src/polyfills/require.js b/node_modules/metro-runtime/src/polyfills/require.js
|
||||
index 8b086a6..42dee53 100644
|
||||
--- a/node_modules/metro-runtime/src/polyfills/require.js
|
||||
+++ b/node_modules/metro-runtime/src/polyfills/require.js
|
||||
@@ -114,11 +114,6 @@ function metroRequire(moduleId) {
|
||||
.map(id => (modules[id] ? modules[id].verboseName : "[unknown]")); // We want to show A -> B -> A:
|
||||
|
||||
cycle.push(cycle[0]);
|
||||
- console.warn(
|
||||
- `Require cycle: ${cycle.join(" -> ")}\n\n` +
|
||||
- "Require cycles are allowed, but can result in uninitialized values. " +
|
||||
- "Consider refactoring to remove the need for a cycle."
|
||||
- );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user