summaryrefslogtreecommitdiff
path: root/cli/worker.rs
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2022-12-19 03:55:50 +0100
committerGitHub <noreply@github.com>2022-12-19 03:55:50 +0100
commit1d18b65edcc4398c7badcf4ad0a367cb1e585a68 (patch)
treee53b02e7d5ef2fb15666897e90babaefab311511 /cli/worker.rs
parent97f280eb9b28f1b7743eb73cea817f3a5d122b83 (diff)
fix(runtime): expose `extensions_with_js` from WorkerOptions (#17109)
Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/worker.rs')
-rw-r--r--cli/worker.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/worker.rs b/cli/worker.rs
index 81dcf5ca2..0b991fdd6 100644
--- a/cli/worker.rs
+++ b/cli/worker.rs
@@ -523,6 +523,7 @@ 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
@@ -752,6 +753,7 @@ 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,