Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
chu121su12 committed Oct 9, 2022
1 parent e34f7a2 commit 19a7c35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/preset-mini/src/_variants/combinators.ts
Expand Up @@ -16,8 +16,9 @@ const scopeMatcher = (name: string, combinator: string): VariantObject => ({
const [match, rest] = body
let bracketValue = h.bracket(match) ?? ''

if (bracketValue === '')
if (bracketValue === '') {
bracketValue = '*'
}
else {
if (matcher[name.length] !== '-')
return
Expand Down

0 comments on commit 19a7c35

Please sign in to comment.