Fix occasional duplicate results in PathSet iterator

This commit is contained in:
Zaid Abdulla committed 2016-09-06 01:50:29 -07:00
1 parent 67d08ca1ff
commit 82596ad1fe
1 file changed
+1 -1
+1 -1
View File
@@ -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]['*'])
} }