TypeError: Result of expression 'includePaths[i].includes' [undefined] is not a function.
This commit is contained in:
parent
5e36a24996
commit
b46ca34d84
|
@ -823,7 +823,7 @@ Module {
|
||||||
|
|
||||||
for(var i = 0; i < includePaths.length; i++)
|
for(var i = 0; i < includePaths.length; i++)
|
||||||
{
|
{
|
||||||
if (includePaths[i].includes("xerces-c"))
|
if (typeof includePaths[i] === 'string' && includePaths[i].includes("xerces-c"))
|
||||||
{
|
{
|
||||||
paths.push(includePaths[i]);
|
paths.push(includePaths[i]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user