mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 11:34:23 +00:00
11 lines
345 B
JavaScript
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)
|
||
|
);
|
||
|
};
|