Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
refactor(util): code refactor
  • Loading branch information
Simon-He95 committed Jun 22, 2024
commit e66551fed4d99689b4a284523eb166b95ac142a5
2 changes: 1 addition & 1 deletion src/util/splitAtTopLevelOnly.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function splitAtTopLevelOnly(input, separator) {
}
}

isEscaped = char === '\\'
isEscaped = isEscaped ? false : char === '\\'

if (char === '(' || char === '[' || char === '{') {
stack.push(char)
Expand Down