(path, print)
| 588 | } |
| 589 | |
| 590 | function printElseIfBlock(path, print) { |
| 591 | const { node, grandparent } = path; |
| 592 | return group([ |
| 593 | printInverseBlockOpeningMustache(grandparent), |
| 594 | ["else", " ", grandparent.inverse.body[0].path.head.name], |
| 595 | indent([ |
| 596 | line, |
| 597 | group(printParams(path, print)), |
| 598 | ...(isNonEmptyArray(node.program.blockParams) |
| 599 | ? [line, printBlockParams(node.program)] |
| 600 | : []), |
| 601 | ]), |
| 602 | softline, |
| 603 | printInverseBlockClosingMustache(grandparent), |
| 604 | ]); |
| 605 | } |
| 606 | |
| 607 | function printCloseBlock(path, options, print) { |
| 608 | const { node } = path; |
no test coverage detected
searching dependent graphs…