Skip to content

Commit 20d1c09

Browse files
committed
Check uniqueness for ' ' and '>' operators
1 parent 1850d10 commit 20d1c09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ select.rule = function (selector, ast) {
4646
selector.rule.nestingOperator == '>') {
4747
if (!node.children) return;
4848
node.children.forEach(function (childNode) {
49-
[].push.apply(result, select.rule(selector.rule, childNode));
49+
append(result, select.rule(selector.rule, childNode));
5050
});
5151
}
5252
else {

0 commit comments

Comments
 (0)