Call tostring() to work properly with node10
This commit is contained in:
+1
-1
@@ -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;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user