Fix an oversight from #9709
This commit is contained in:
1 parent
bce3500b5e
commit
1344d9a18a
1 file changed
+1
-1
@@ -111,7 +111,7 @@ function decorateComment(node, comment, options, enclosingNode) {
|
||||
return decorateComment(child, comment, options, child);
|
||||
}
|
||||
|
||||
if (start <= commentStart) {
|
||||
if (end <= commentStart) {
|
||||
// This child node falls completely before the comment.
|
||||
// Because we will never consider this node or any nodes
|
||||
// before it again, this node must be the closest preceding
|
||||
|
||||
Reference in new issue
Block a user