Skip to content

Commit 98cfcbc

Browse files
committed
chore: lint code
1 parent 2b3485c commit 98cfcbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/language-service/lib/plugins/vue-document-highlights.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export function create(
3838
end: document.positionAt(textSpan.start + textSpan.length),
3939
});
4040
const tagNameMatch = highlightText.match(/<\/?([^\s>]+)/);
41-
if (!tagNameMatch) return false;
41+
if (!tagNameMatch) {return false;}
4242
const tagName = tagNameMatch[1];
4343
return highlightText.startsWith(`</${tagName}>`) ||
4444
highlightText.startsWith(`<${tagName}/>`);

0 commit comments

Comments
 (0)