ci: fix code style linting errors

This commit is contained in:
philippkuehn
2021-09-22 11:00:24 +00:00
committed by GitHub Actions
parent 8ee0d67b83
commit 39e1be59bb

View File

@@ -13,8 +13,7 @@ export default function (regexp: RegExp, type: NodeType, getAttributes?: (match:
let matchStart = start + offset
if (matchStart > end) {
matchStart = end
}
else {
} else {
end = matchStart + match[1].length
}