summaryrefslogtreecommitdiff
path: root/cli/ops
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-05-07 21:15:59 +0200
committerGitHub <noreply@github.com>2020-05-07 21:15:59 +0200
commitaca21dad1ba576e2e8b81cfa5ac87d58c69f1de6 (patch)
tree15b657060b27cf48a9d4dc15fd3dd1464dd76a9d /cli/ops
parent2b66b8a03e4f81cc158be40d07534f26fa762c2b (diff)
BREAKING: make Worker.deno unstable (#5128)
This commit makes "Worker.deno" option unstable. Added new manual entry "docs/runtime/workers.md". Removed stale workers tests.
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();