From 39e1be59bbc2630897b16b69657107760da04baf Mon Sep 17 00:00:00 2001 From: philippkuehn Date: Wed, 22 Sep 2021 11:00:24 +0000 Subject: [PATCH] ci: fix code style linting errors --- packages/core/src/inputRules/nodeInputRule.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/core/src/inputRules/nodeInputRule.ts b/packages/core/src/inputRules/nodeInputRule.ts index bbfa6485..49ab3543 100644 --- a/packages/core/src/inputRules/nodeInputRule.ts +++ b/packages/core/src/inputRules/nodeInputRule.ts @@ -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 }