Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Apr 20, 2021
1 parent 15720ae commit e04230d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parser/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1902,7 +1902,7 @@ class StylusParser {
)
const checkBrace =
// skip `)` or `}` or `/*...*/` or spaces and first `{`
/^(?:\/\*[\s\S]*?\*\/|\s|\)|\})*\{/u.exec(
/^(?:\/\*[\s\S]*?\*\/|[\s)}])*\{/u.exec(
this.sourceCode.getText(
beforeBlockNodeEndIndex + 1,
checkBraceTextEndIndex - 1,
Expand Down

0 comments on commit e04230d

Please sign in to comment.