diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-04-18 21:43:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-19 01:43:28 +0000 |
commit | c497e766f1a136c674d8be2467eb103c85fe1d44 (patch) | |
tree | a6b84f9950f2bdca734d8d402b60d44f99605965 /cli/tools/test/mod.rs | |
parent | 8e77f091ad9b1f8b3dc2eaf8b4a2be2560a67354 (diff) |
refactor: move redirect handling into deno_graph (#23444)
Diffstat (limited to 'cli/tools/test/mod.rs')
-rw-r--r-- | cli/tools/test/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tools/test/mod.rs b/cli/tools/test/mod.rs index 390a60762..013d8c084 100644 --- a/cli/tools/test/mod.rs +++ b/cli/tools/test/mod.rs @@ -1277,7 +1277,7 @@ async fn fetch_inline_files( for specifier in specifiers { let fetch_permissions = PermissionsContainer::allow_all(); let file = file_fetcher - .fetch(&specifier, fetch_permissions) + .fetch(&specifier, &fetch_permissions) .await? .into_text_decoded()?; @@ -1688,7 +1688,7 @@ async fn fetch_specifiers_with_test_mode( for (specifier, mode) in &mut specifiers_with_mode { let file = file_fetcher - .fetch(specifier, PermissionsContainer::allow_all()) + .fetch(specifier, &PermissionsContainer::allow_all()) .await?; let (media_type, _) = file.resolve_media_type_and_charset(); |