Use fullpath instead of recreating it
This commit is contained in:
parent
f2bc09e68b
commit
f0db2cf14e
1 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue