From 277d085dbed0b9b1424348cc580ba601d935759b Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Tue, 17 Sep 2024 08:33:17 +0200 Subject: [PATCH] fix(deno): replace lock-write with frozen=false --- backend/windmill-worker/src/deno_executor.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/windmill-worker/src/deno_executor.rs b/backend/windmill-worker/src/deno_executor.rs index 1e3a2e77b69d0..03f9aa97054e9 100644 --- a/backend/windmill-worker/src/deno_executor.rs +++ b/backend/windmill-worker/src/deno_executor.rs @@ -121,7 +121,7 @@ pub async fn generate_deno_lock( "--unstable-worker-options", "--unstable-http", "--lock=lock.json", - "--lock-write", + "--frozen=false", "--import-map", &import_map_path, "main.ts", @@ -290,7 +290,7 @@ try {{ if !reqs.is_empty() { let _ = write_file(job_dir, "lock.json", &reqs)?; args.push("--lock=lock.json"); - args.push("--lock-write"); + args.push("--frozen=false"); } } let allow_read = format!(