* Use same print width for range formatting as normal formatting. Fixes an issue were a file would end up formatted differently with ranged formatting (--range-start & --range-end) versus normal whole file formatting. * Document range bugfix in changelog.
6 lines
164 B
JavaScript
6 lines
164 B
JavaScript
function f() {
|
|
if (true) {<<<PRETTIER_RANGE_START>>>
|
|
call("this line is 79 chars", "long", "it should", "stay as single line");
|
|
<<<PRETTIER_RANGE_END>>>}
|
|
}
|