summaryrefslogtreecommitdiff
path: root/cli/ops
diff options
context:
space:
mode:
Diffstat (limited to 'cli/ops')
-rw-r--r--cli/ops/worker_host.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/ops/worker_host.rs b/cli/ops/worker_host.rs
index ea8e3db56..479fcceaf 100644
--- a/cli/ops/worker_host.rs
+++ b/cli/ops/worker_host.rs
@@ -184,6 +184,9 @@ fn op_create_worker(
};
let args_name = args.name;
let use_deno_namespace = args.use_deno_namespace;
+ if use_deno_namespace {
+ state.check_unstable("Worker.deno");
+ }
let parent_state = state.clone();
let mut state = state.borrow_mut();
let global_state = state.global_state.clone();