diff --git a/backend/src/worker.rs b/backend/src/worker.rs index bd5ccbca92..ba978dcf3a 100644 --- a/backend/src/worker.rs +++ b/backend/src/worker.rs @@ -1224,7 +1224,7 @@ async fn handle_dependency_job( args.extend(["--index-url", url]); } if let Some(host) = pip_trusted_host { - args.extend(["--trusted_host", host]); + args.extend(["--trusted-host", host]); } let child = Command::new("pip-compile") .current_dir(job_dir)