Skip to content

Commit 1cfebcb

Browse files
author
Abhishek Bindra
committed
add ancestry path support
1 parent 53eda3d commit 1cfebcb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/core/utils/get-ancestry.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ function generateAncestry(node) {
2828
count++;
2929
if (sib === node) {
3030
index = count;
31-
break;
3231
}
3332
}
3433
nthChild = count > 1 ? `:nth-child(${index})` : '';

0 commit comments

Comments
 (0)