summaryrefslogtreecommitdiff
path: root/cli/worker.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-03-09 20:22:27 -0400
committerGitHub <noreply@github.com>2023-03-09 19:22:27 -0500
commitd1685b120bf7da5ba384806153f65d90ef156b77 (patch)
tree155c87f1beae810f52fb2a9ef9ab7526fa1af990 /cli/worker.rs
parent78d430103a8f6931154ddbbe19d36f3b8630286d (diff)
refactor(core): remove RuntimeOptions::extensions_with_js (#18099)
This commit removes "deno_core::RuntimeOptions::extensions_with_js". Now it's embedders' responsibility to properly register extensions that will not contains JavaScript sources when running from an existing snapshot. Prerequisite for https://github.com/denoland/deno/pull/18080
Diffstat (limited to 'cli/worker.rs')
-rw-r--r--cli/worker.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/cli/worker.rs b/cli/worker.rs
index 17d1d3c43..050891256 100644
--- a/cli/worker.rs
+++ b/cli/worker.rs
@@ -524,7 +524,6 @@ async fn create_main_worker_internal(
inspect: ps.options.is_inspecting(),
},
extensions,
- extensions_with_js: vec![],
startup_snapshot: Some(crate::js::deno_isolate_init()),
unsafely_ignore_certificate_errors: ps
.options
@@ -758,7 +757,6 @@ mod tests {
inspect: false,
},
extensions: vec![],
- extensions_with_js: vec![],
startup_snapshot: Some(crate::js::deno_isolate_init()),
unsafely_ignore_certificate_errors: None,
root_cert_store: None,