summaryrefslogtreecommitdiff
path: root/cli/tests/testdata
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-02-10 10:02:31 -0500
committerGitHub <noreply@github.com>2024-02-10 10:02:31 -0500
commitd2477f780630a812bfd65e3987b70c0d309385bb (patch)
treeaa3dcdff8929c724beeb6c5ade8bc0207fa8a516 /cli/tests/testdata
parent34c8d1714026501a0d4907b7311006fadb25fcdf (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/tests/testdata')
-rw-r--r--cli/tests/testdata/jsr/version_not_found/main.out1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tests/testdata/jsr/version_not_found/main.out b/cli/tests/testdata/jsr/version_not_found/main.out
index 5ebe13c73..6a32b5d81 100644
--- a/cli/tests/testdata/jsr/version_not_found/main.out
+++ b/cli/tests/testdata/jsr/version_not_found/main.out
@@ -1,4 +1,5 @@
Download http://127.0.0.1:4250/@denotest/deps/meta.json
+Download http://127.0.0.1:4250/@denotest/deps/meta.json
error: Could not find constraint in the list of versions: @denotest/deps@0.1.4
Specifier: jsr:@denotest/deps@0.1.4/mod.ts
at file:///[WILDCARD]/version_not_found/main.ts:1:19