Fix occasional duplicate results in PathSet iterator
This commit is contained in:
1 parent
67d08ca1ff
commit
82596ad1fe
1 file changed
+1
-1
+1
-1
@@ -135,7 +135,7 @@ class PathSet {
|
|||||||
if (this.fragmentIndex[i][fragment])
|
if (this.fragmentIndex[i][fragment])
|
||||||
s.push(this.fragmentIndex[i][fragment]);
|
s.push(this.fragmentIndex[i][fragment]);
|
||||||
|
|
||||||
if (wildcard && this.fragmentIndex[i]['*'])
|
if (wildcard && fragment != '*' && this.fragmentIndex[i]['*'])
|
||||||
s.push(this.fragmentIndex[i]['*'])
|
s.push(this.fragmentIndex[i]['*'])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user