Skip to content

Commit

Permalink
remove invalid test #35
Browse files Browse the repository at this point in the history
  • Loading branch information
tbela99 committed May 12, 2024
1 parent 2052c44 commit 27c7459
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/index-umd-web.js
Original file line number Diff line number Diff line change
Expand Up @@ -8852,7 +8852,7 @@
selector: selector.reduce((acc, curr) => {
let hasCompound = true;
if (hasCompound && curr.length > 0) {
hasCompound = ':' != curr[0] || !['&'].concat(combinators).includes(curr[0].charAt(0));
hasCompound = !['&'].concat(combinators).includes(curr[0].charAt(0));
}
// @ts-ignore
if (hasCompound && curr[0] == ' ') {
Expand Down
2 changes: 1 addition & 1 deletion dist/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8850,7 +8850,7 @@ function reduceSelector(selector) {
selector: selector.reduce((acc, curr) => {
let hasCompound = true;
if (hasCompound && curr.length > 0) {
hasCompound = ':' != curr[0] || !['&'].concat(combinators).includes(curr[0].charAt(0));
hasCompound = !['&'].concat(combinators).includes(curr[0].charAt(0));
}
// @ts-ignore
if (hasCompound && curr[0] == ' ') {
Expand Down
2 changes: 1 addition & 1 deletion dist/lib/ast/minify.js
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ function reduceSelector(selector) {
selector: selector.reduce((acc, curr) => {
let hasCompound = true;
if (hasCompound && curr.length > 0) {
hasCompound = ':' != curr[0] || !['&'].concat(combinators).includes(curr[0].charAt(0));
hasCompound = !['&'].concat(combinators).includes(curr[0].charAt(0));
}
// @ts-ignore
if (hasCompound && curr[0] == ' ') {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ast/minify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ export function reduceSelector(selector: string[][]) {

if (hasCompound && curr.length > 0) {

hasCompound = ':' != curr[0] || !['&'].concat(combinators).includes(curr[0].charAt(0));
hasCompound = !['&'].concat(combinators).includes(curr[0].charAt(0));
}

// @ts-ignore
Expand Down

0 comments on commit 27c7459

Please sign in to comment.