GT2/GT2-iOS/node_modules/react-native/local-cli/link/ios/removeFromHeaderSearchPaths.js

11 lines
345 B
JavaScript

const mapHeaderSearchPaths = require('./mapHeaderSearchPaths');
/**
* Given Xcode project and absolute path, it makes sure there are no headers referring to it
*/
module.exports = function addToHeaderSearchPaths(project, path) {
mapHeaderSearchPaths(project,
searchPaths => searchPaths.filter(searchPath => searchPath !== path)
);
};