mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
fix(install): don't error on unknown media types in install (#28234)
Fixes https://github.com/denoland/deno/issues/28223 This is kind of an ugly fix, but it works, and I think is the easiest way to handle the fact that when caching the module graph we might encounter imports that won't actually error at runtime (for instance in files that will be bundled).
This commit is contained in:
parent
876bac445a
commit
d20c6b5b7d
16 changed files with 128 additions and 33 deletions
|
@ -235,7 +235,10 @@ impl TestRun {
|
|||
)?;
|
||||
let main_graph_container = factory.main_module_graph_container().await?;
|
||||
main_graph_container
|
||||
.check_specifiers(&self.queue.iter().cloned().collect::<Vec<_>>(), None)
|
||||
.check_specifiers(
|
||||
&self.queue.iter().cloned().collect::<Vec<_>>(),
|
||||
Default::default(),
|
||||
)
|
||||
.await?;
|
||||
|
||||
let (concurrent_jobs, fail_fast) =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue