Remove unneeded _compact assignment.
This commit is contained in:
parent
1bf76b0f33
commit
9b8b5112df
@ -262,10 +262,6 @@ export default class Printer {
|
|||||||
print(node, parent, opts = {}) {
|
print(node, parent, opts = {}) {
|
||||||
if (!node) return;
|
if (!node) return;
|
||||||
|
|
||||||
if (parent && parent._compact) {
|
|
||||||
node._compact = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
let oldConcise = this.format.concise;
|
let oldConcise = this.format.concise;
|
||||||
if (node._compact) {
|
if (node._compact) {
|
||||||
this.format.concise = true;
|
this.format.concise = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user