Skip to content

Commit

Permalink
Add missing newline in children list.
Browse files Browse the repository at this point in the history
  • Loading branch information
gmart7t2 committed Nov 14, 2023
1 parent b42a67f commit 513ded0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subcommand/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ impl Server {
log::info!("GET /children");
let mut result = String::new();
for (parent, child) in index.get_children()? {
result += format!("{} {}", parent, child).as_str();
result += format!("{} {}\n", parent, child).as_str();
}
Ok(result)
}
Expand Down

0 comments on commit 513ded0

Please sign in to comment.