summaryrefslogtreecommitdiff
path: root/cli/module_loader.rs
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2024-02-10 19:08:02 -0700
committerGitHub <noreply@github.com>2024-02-10 19:08:02 -0700
commit26d9b2f3174030138a13bdb60c6c76a38fa0df19 (patch)
treebe524bf55f7cb0d7e7fdd761e4cd045d5dbf6f31 /cli/module_loader.rs
parentf5e46c9bf2f50d66a953fa133161fc829cecff06 (diff)
chore: deno_core bump (#22379)
- Updates to V8 12.1.285.27 https://github.com/denoland/rusty_v8/pull/1383 - Swaps Box for Rc for `source_map_getter`
Diffstat (limited to 'cli/module_loader.rs')
-rw-r--r--cli/module_loader.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/module_loader.rs b/cli/module_loader.rs
index 4b120796b..84ced345f 100644
--- a/cli/module_loader.rs
+++ b/cli/module_loader.rs
@@ -443,8 +443,8 @@ impl ModuleLoaderFactory for CliModuleLoaderFactory {
)
}
- fn create_source_map_getter(&self) -> Option<Box<dyn SourceMapGetter>> {
- Some(Box::new(CliSourceMapGetter {
+ fn create_source_map_getter(&self) -> Option<Rc<dyn SourceMapGetter>> {
+ Some(Rc::new(CliSourceMapGetter {
shared: self.shared.clone(),
}))
}