add back missing comment fix - fixes #2072
This commit is contained in:
parent
a571907c5d
commit
04ce3db23b
@ -74,7 +74,7 @@ pp.processComment = function (node) {
|
|||||||
|
|
||||||
if (lastChild) {
|
if (lastChild) {
|
||||||
if (lastChild.leadingComments) {
|
if (lastChild.leadingComments) {
|
||||||
if (last(lastChild.leadingComments).end <= node.start) {
|
if (last(lastChild.leadingComments).end < node.start) {
|
||||||
node.leadingComments = lastChild.leadingComments;
|
node.leadingComments = lastChild.leadingComments;
|
||||||
lastChild.leadingComments = null;
|
lastChild.leadingComments = null;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user