File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff 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 ( ) ,
You can’t perform that action at this time.
0 commit comments