beautify: keep semicolon after /*comment*/ on the same line
This commit is contained in:
parent
b32832e237
commit
42bd77ec17
|
@ -407,7 +407,7 @@
|
|||
}
|
||||
|
||||
print.text(eatComment());
|
||||
print.newLine();
|
||||
if (peek() !== ';') print.newLine();
|
||||
} else if (ch === '/' && peek() === '/') { // single line comment
|
||||
if (!isAfterNewline && last_top_ch !== '{') {
|
||||
print.trim();
|
||||
|
|
Loading…
Reference in New Issue
Block a user