Remove trailing space from emitLeadingComment

This will prevent emiting an extraneous trailing space on comments to
match https://eslint.org/docs/rules/no-trailing-spaces
This also removes a space that may have been originally there after a
comment but isn't necessary syntactically.
This commit is contained in:
Yuval Greenfield committed 2017-09-08 15:02:59 -07:00
1 parent 2e02778960
commit ff0961b85e
45 files changed
+53 -56

No files matched your search

-3
View File
@@ -274,9 +274,6 @@ namespace ts {
if (hasTrailingNewLine) {
writer.writeLine();
}
else {
writer.write(" ");
}
}
function emitLeadingCommentsOfPosition(pos: number) {