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