From 1ae36dee8973d632e9407b2d729116f5ea300dc1 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Sun, 14 Jan 2024 19:05:53 +0100 Subject: [PATCH] nodejs fix --- backend/windmill-worker/src/bun_executor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/windmill-worker/src/bun_executor.rs b/backend/windmill-worker/src/bun_executor.rs index 3b791bbbc7..1ee974ba1d 100644 --- a/backend/windmill-worker/src/bun_executor.rs +++ b/backend/windmill-worker/src/bun_executor.rs @@ -296,7 +296,7 @@ pub async fn handle_bun_job( let nodejs_mode: bool = inner_content.starts_with("//nodejs"); - #[cfg(feature = "enterprise")] + #[cfg(not(feature = "enterprise"))] if nodejs_mode { return Err(error::Error::ExecutionErr( "Nodejs mode is an EE feature".to_string(),