Skip to content

Commit e6b0ad0

Browse files
committed
fix
1 parent 6cd4acc commit e6b0ad0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rules/no-multiple-template-root.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ module.exports = {
6363
}
6464

6565
const comments = element.comments.filter((comment) =>
66-
utils.inRange(comment, element)
66+
utils.inRange(element, comment)
6767
)
6868
const elementRanges = element.children.map((child) => child.range)
6969
if (disallowComments && comments.length > 0) {

0 commit comments

Comments
 (0)