lukeed/tidyPublic

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.
LELuke Edwards authored
3c5ef19Patch
Parentc8d1d1f
1 file changed+2-1
StackedSplit
crates/tidy/src/doc/print.rs+2 −1