diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-02-10 10:02:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-10 10:02:31 -0500 |
commit | d2477f780630a812bfd65e3987b70c0d309385bb (patch) | |
tree | aa3dcdff8929c724beeb6c5ade8bc0207fa8a516 /cli/tools/test/mod.rs | |
parent | 34c8d1714026501a0d4907b7311006fadb25fcdf (diff) |
fix: cache bust jsr deps on constraint failure (#22372)
Removes the `FileFetcher`'s internal cache because I don't believe it's
necessary (we already cache this kind of stuff in places like deno_graph
or config files in different places). Removing it fixes this bug because
this functionality was already implemented in deno_graph and lowers
memory usage of the CLI a little bit.
Diffstat (limited to 'cli/tools/test/mod.rs')
-rw-r--r-- | cli/tools/test/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/test/mod.rs b/cli/tools/test/mod.rs index c138abec2..2cf663b5f 100644 --- a/cli/tools/test/mod.rs +++ b/cli/tools/test/mod.rs @@ -873,7 +873,7 @@ pub async fn check_specifiers( .collect(); for file in inline_files { - file_fetcher.insert_cached(file); + file_fetcher.insert_memory_files(file); } module_load_preparer |