summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2022-05-17 21:27:17 +0100
committerGitHub <noreply@github.com>2022-05-17 22:27:17 +0200
commit330c820ae8d7826dfe3d88c01ba07728121fa021 (patch)
treea5c0216f5cba4ea503e9cba3b0abdd8d4290c123 /cli/main.rs
parentf57aac77ff9ce514730504066daca0a61a959d32 (diff)
BREAKING(unstable): Enable Deno namespace in workers by default (#14581)
This commit removes "WorkerOptions.deno" option as a boolean, as well as "WorkerOptions.deno.namespace" settings. Starting with this commit all workers have access to "Deno" namespace by default.
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/cli/main.rs b/cli/main.rs
index ef9267088..9bbe8cfcb 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -172,7 +172,6 @@ fn create_web_worker_callback(
preload_module_cb,
format_js_error_fn: Some(Arc::new(format_js_error)),
source_map_getter: Some(Box::new(ps.clone())),
- use_deno_namespace: args.use_deno_namespace,
worker_type: args.worker_type,
maybe_inspector_server,
get_error_class_fn: Some(&crate::errors::get_error_class_name),