Call tostring() to work properly with node10

This commit is contained in:
Mészáros Mihály
2020-02-11 10:11:18 +01:00
parent 209653dcc0
commit aac6710166
+1 -1
View File
@@ -441,7 +441,7 @@ function isPathAlreadyTaken(url)
alreadyTakenPath.forEach((path) =>
{
if (url.toString.startsWith(path))
if (url.toString().startsWith(path) )
return true;
});