1
Fork 0

Use fullpath instead of recreating it

This commit is contained in:
Guillaume Gomez 2018-05-12 23:44:40 +02:00
parent f2bc09e68b
commit f0db2cf14e

View file

@ -1267,12 +1267,10 @@
type = itemTypes[item.ty];
if (item.is_alias !== true) {
var fullPath = item.displayPath + name;
if (duplicates[fullPath]) {
if (duplicates[item.fullPath]) {
return;
}
duplicates[fullPath] = true;
duplicates[item.fullPath] = true;
}
length += 1;