It turns out that the range is not inclusive. It incorrectly included a \n after and would expand way more objects than we intended to. I found it while running prettier on the codebase. I'll make 0.14.1 for this.
14 lines
213 B
JavaScript
14 lines
213 B
JavaScript
group(
|
|
concat([
|
|
"(",
|
|
indent(
|
|
options.tabWidth,
|
|
concat([line, join(concat([",", line]), printed)])
|
|
),
|
|
options.trailingComma ? "," : "",
|
|
line,
|
|
")"
|
|
]),
|
|
{shouldBreak: true}
|
|
)
|