From 36088ca6811591e0a7ce1b87dbb0be11c93f574f Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Wed, 18 Sep 2024 00:50:41 +0200 Subject: [PATCH] fix lock-write for deno --- backend/windmill-worker/src/deno_executor.rs | 2 +- integration_tests/test/identity_script_test.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/windmill-worker/src/deno_executor.rs b/backend/windmill-worker/src/deno_executor.rs index 03f9aa97054e9..4b139a63d19df 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", - "--frozen=false", + "--lock-write", "--import-map", &import_map_path, "main.ts", diff --git a/integration_tests/test/identity_script_test.py b/integration_tests/test/identity_script_test.py index 954d4d6e73475..e2243007f29b7 100644 --- a/integration_tests/test/identity_script_test.py +++ b/integration_tests/test/identity_script_test.py @@ -43,6 +43,7 @@ def setUpClass(cls) -> None: if not os.environ.get("WMILL_RUNNING_DEV", False): for lang, script in SCRIPTS.items(): + print(f"Creating script for {lang} {script}") cls._client.create_script( path=PATH_TEMPLATE.format(lang=lang), content=script,