mirror of
https://github.com/status-im/react-native.git
synced 2025-02-24 07:08:27 +00:00
Summary: Adds copyright headers to all files that are missing them. Reviewed By: hramos Differential Revision: D12837494 fbshipit-source-id: 6330a18919676dec9ff2c03b7c9329ed9127d930
19 lines
520 B
JavaScript
19 lines
520 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @format
|
|
*/
|
|
|
|
const isInstalledIOS = require('../isInstalled');
|
|
const isInstalledPods = require('../../pods/isInstalled');
|
|
|
|
module.exports = function isInstalled(projectConfig, name, dependencyConfig) {
|
|
return (
|
|
isInstalledIOS(projectConfig, dependencyConfig) ||
|
|
isInstalledPods(projectConfig, dependencyConfig)
|
|
);
|
|
};
|