Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nayeemrmn committed Feb 5, 2025
1 parent 05d0733 commit c78d87f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion cli/rt/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use std::sync::OnceLock;
use deno_cache_dir::npm::NpmCacheDir;
use deno_config::workspace::MappedResolution;
use deno_config::workspace::ResolverWorkspaceJsrPackage;
use deno_config::workspace::SloppyImportsOptions;
use deno_config::workspace::WorkspaceResolver;
use deno_core::error::AnyError;
use deno_core::error::ModuleLoaderError;
Expand Down Expand Up @@ -861,7 +862,11 @@ pub async fn run(
.collect(),
pkg_jsons,
metadata.workspace_resolver.pkg_json_resolution,
Default::default(),
if metadata.unstable_config.sloppy_imports {
SloppyImportsOptions::Enabled
} else {
SloppyImportsOptions::Disabled
},
Default::default(),
Default::default(),
Default::default(),
Expand Down

0 comments on commit c78d87f

Please sign in to comment.