mirror of
https://github.com/RGBCube/alejandra
synced 2025-08-01 21:17:45 +00:00
parent
e33ab6fc18
commit
a5cc33c6d8
18 changed files with 1128 additions and 1128 deletions
|
@ -55,7 +55,7 @@ fn build_step(
|
||||||
.iter()
|
.iter()
|
||||||
.enumerate()
|
.enumerate()
|
||||||
.map(|(index, line)| {
|
.map(|(index, line)| {
|
||||||
if index == 0 {
|
if index == 0 || line.is_empty() {
|
||||||
line.to_string()
|
line.to_string()
|
||||||
} else {
|
} else {
|
||||||
format!(
|
format!(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue