Skip to content

Commit 76007a7

Browse files
authored
Merge pull request #2548 from JonathanBrouwer/separator
Add separator between PRs in triage result
2 parents 73606a9 + 7821d59 commit 76007a7

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

site/src/request_handlers/github.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,12 @@ async fn handle_rust_timer(
226226
}
227227
Ok(RustTimerCommand::Triage(cmd)) => {
228228
let mut result = String::new();
229-
for sha in cmd.shas {
229+
for (i, sha) in cmd.shas.iter().enumerate() {
230+
// Add separator between PRs
231+
if i != 0 {
232+
writeln!(&mut result, "---").unwrap();
233+
}
234+
230235
// Get unrolled commit
231236
let commit = match main_client.get_commit(sha).await {
232237
Ok(commit) => commit,

0 commit comments

Comments
 (0)