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(),