Fix 'mapHeaderSearchPaths'

Summary:
👍
Closes https://github.com/facebook/react-native/pull/9976

Differential Revision: D4070412

fbshipit-source-id: fc0a1d10606faa117d46eeab62669c62923ce935
This commit is contained in:
aleclarson 2016-10-24 15:04:26 -07:00 committed by Facebook Github Bot
parent c4aa29c753
commit 178a19f3da

View File

@ -26,7 +26,7 @@ module.exports = function headerSearchPathIter(project, func) {
buildSettings.HEADER_SEARCH_PATHS :
[]
)
.filter(path => path.indexOf('react-native/React/**'))
.filter(path => path.indexOf('react-native/React/**') >= 0)
.length > 0;
if (shouldVisitBuildSettings) {