Call tostring() to work properly with node10
parent
209653dcc0
commit
aac6710166
|
|
@ -441,7 +441,7 @@ function isPathAlreadyTaken(url)
|
||||||
|
|
||||||
alreadyTakenPath.forEach((path) =>
|
alreadyTakenPath.forEach((path) =>
|
||||||
{
|
{
|
||||||
if (url.toString.startsWith(path))
|
if (url.toString().startsWith(path) )
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue