consider comment starting character to be a terminatorless separator #2106
This commit is contained in:
parent
2b009e8c47
commit
4d846e3686
@ -264,7 +264,7 @@ export default class Buffer {
|
||||
|
||||
this.parenPushNewlineState = null;
|
||||
|
||||
if (cha === "\n") {
|
||||
if (cha === "\n" || cha === "/") {
|
||||
// we're going to break this terminator expression so we need to add a parentheses
|
||||
this._push("(");
|
||||
this.indent();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user