From 2d88e83ff9a674489bd6e0bcd32ac9480f99aade Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Wed, 11 Dec 2024 23:12:18 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- crates/gh-workflow/src/generate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/gh-workflow/src/generate.rs b/crates/gh-workflow/src/generate.rs index 9402ff0..615a55f 100644 --- a/crates/gh-workflow/src/generate.rs +++ b/crates/gh-workflow/src/generate.rs @@ -109,7 +109,7 @@ fn organize_job_dependency(mut workflow: Workflow) -> Workflow { let mut job_ids = Vec::::new(); for job in dep_jobs.iter() { // If the job is already available - if let Some(id) = find_value(job, &new_jobs).or(find_value(job, &old_jobs)) { + if let Some(id) = find_value(job, &new_jobs).or(find_value(job, old_jobs)) { job_ids.push(id.to_owned()); } else { // Create a job-id for the job