Prettier RN local-cli

Reviewed By: yungsters

Differential Revision: D7962462

fbshipit-source-id: 0afe2092af8703895de91a6d1400315c3173aa6d
This commit is contained in:
Eli White authored and Facebook Github Bot committed 2018-05-11 13:00:50 -07:00
1 parent 680fb50040
commit aba4ec0c09
209 files changed
+3167 -2071

No files matched your search

@@ -3,6 +3,8 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
const applyPatch = require('./patches/applyPatch');
@@ -16,13 +18,13 @@ module.exports = function registerNativeAndroidModule(
name,
androidConfig,
params,
projectConfig
projectConfig,
) {
const buildPatch = makeBuildPatch(name);
applyPatch(
projectConfig.settingsGradlePath,
makeSettingsPatch(name, androidConfig, projectConfig)
makeSettingsPatch(name, androidConfig, projectConfig),
);
applyPatch(projectConfig.buildGradlePath, buildPatch);
@@ -30,11 +32,11 @@ module.exports = function registerNativeAndroidModule(
applyPatch(
projectConfig.mainFilePath,
makePackagePatch(androidConfig.packageInstance, params, name)
makePackagePatch(androidConfig.packageInstance, params, name),
);
applyPatch(
projectConfig.mainFilePath,
makeImportPatch(androidConfig.packageImportPath)
makeImportPatch(androidConfig.packageImportPath),
);
};