fix: try every conditional state
Prettier's printer tries each state of a conditional group after the first in flat mode, the last one included, and only then breaks the last. tidy skipped the last, and panicked on a group with one state, which YAML's mapping items print. HTML, Vue, CSS, SCSS, Less, JSON and XML print the same as before.
Parentc8d1d1f
1 file changed+2-1
StackedSplit