Call tostring() to work properly with node10
This commit is contained in:
+1
-1
@@ -441,7 +441,7 @@ function isPathAlreadyTaken(url)
|
||||
|
||||
alreadyTakenPath.forEach((path) =>
|
||||
{
|
||||
if (url.toString.startsWith(path))
|
||||
if (url.toString().startsWith(path) )
|
||||
return true;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user