From 5f119de6cb915f234c868da1aa02050481cbc4b0 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Tue, 11 Jun 2024 20:51:57 +0200 Subject: [PATCH] fix: fix dependency tracking for single scripts --- backend/windmill-worker/src/worker_lockfiles.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/windmill-worker/src/worker_lockfiles.rs b/backend/windmill-worker/src/worker_lockfiles.rs index 4f81354a70..103d87aa93 100644 --- a/backend/windmill-worker/src/worker_lockfiles.rs +++ b/backend/windmill-worker/src/worker_lockfiles.rs @@ -87,7 +87,7 @@ async fn add_relative_imports_to_dependency_map<'c>( script_path, import, importer_kind, - node_id + node_id.clone().unwrap_or_default() ) .execute(&mut *tx) .await?;