diff --git a/src/main/comments.js b/src/main/comments.js index 4d49f4f7..3f5d776d 100644 --- a/src/main/comments.js +++ b/src/main/comments.js @@ -443,7 +443,10 @@ function printTrailingComment(commentPath, print, options) { return concat([" ", contents]); } - return concat([lineSuffix(" " + contents), !isBlock ? breakParent : ""]); + return concat([ + lineSuffix(concat([" ", contents])), + !isBlock ? breakParent : "" + ]); } function printDanglingComments(path, options, sameIndent, filter) {