From eaadad61433c7fa911bd02f7a56b23e00b8a9963 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Wed, 28 Sep 2022 09:17:08 +0200 Subject: [PATCH] hotfix trusted host for pip-compile --- backend/src/worker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)