Skip to content

Commit 14971cc

Browse files
committed
Apply fmt all
1 parent 3d65776 commit 14971cc

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/bors/mod.rs

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,13 @@ pub fn create_merge_commit_message(pr: handlers::PullRequestData, merge_type: Me
129129

130130
let pr_description = match &merge_type {
131131
// Only keep any lines starting with `CUSTOM_TRY_JOB_PREFIX`.
132-
MergeType::Try { try_jobs } if try_jobs.is_empty() => {
133-
pr.github
134-
.message
135-
.lines()
136-
.map(|l| l.trim())
137-
.filter(|l| l.starts_with(CUSTOM_TRY_JOB_PREFIX))
138-
.join("\n")
139-
}
132+
MergeType::Try { try_jobs } if try_jobs.is_empty() => pr
133+
.github
134+
.message
135+
.lines()
136+
.map(|l| l.trim())
137+
.filter(|l| l.starts_with(CUSTOM_TRY_JOB_PREFIX))
138+
.join("\n"),
140139
// If we do not have any custom try jobs, keep the ones that might be in the PR
141140
// description.
142141
MergeType::Try { .. } => String::new(),

0 commit comments

Comments
 (0)