Skip to content

Commit

Permalink
Merge branch 'denoland:main' into support-multiple-env-file-26425
Browse files Browse the repository at this point in the history
  • Loading branch information
bp7968h authored Oct 25, 2024
2 parents 5b01b76 + 0060e74 commit dc372d5
Show file tree
Hide file tree
Showing 12 changed files with 473 additions and 235 deletions.
7 changes: 6 additions & 1 deletion cli/tools/registry/pm/cache_deps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,13 @@ pub async fn cache_top_level_deps(
while let Some(info_future) = info_futures.next().await {
if let Some((specifier, info)) = info_future {
let exports = info.exports();
for (k, _) in exports {
for (k, v) in exports {
if let Ok(spec) = specifier.join(k) {
if v.ends_with(".json") {
// TODO(nathanwhit): this should work, there's a bug with
// json roots in deno_graph. skip it for now
continue;
}
roots.push(spec);
}
}
Expand Down
Loading

0 comments on commit dc372d5

Please sign in to comment.