From 752427b7b8221bbb8304a158b2dad12b26afd7a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Nison?= Date: Fri, 2 Feb 2018 04:35:11 -0800 Subject: [PATCH] Uses findMetroConfig and fetchMetroConfig in the internal RN cli Reviewed By: davidaurelio Differential Revision: D6819226 fbshipit-source-id: 6436855cc5dce9ce7922d89df99c3cb90abb095e --- local-cli/util/Config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/local-cli/util/Config.js b/local-cli/util/Config.js index e57bdadc1f57af..132ef3e286ec67 100644 --- a/local-cli/util/Config.js +++ b/local-cli/util/Config.js @@ -93,6 +93,9 @@ const Config = { return configPath ? this.load(configPath, startDir) : {...Config.DEFAULT}; }, + getProjectPath, + getProjectRoots, + load(configFile: string): ConfigT { return MetroConfig.load(configFile, Config.DEFAULT); },