summaryrefslogtreecommitdiff
path: root/cli/file_fetcher.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-08-10 13:19:45 +0200
committerGitHub <noreply@github.com>2021-08-10 13:19:45 +0200
commitb9a8111a00b58e355baf60a55893dbfc70b0dfdd (patch)
tree99f88f95143ddeaa11f77dd80dccacb03f6d5270 /cli/file_fetcher.rs
parent465cf9a6fe2d77f4c3cdaeb8eea60bd2b8697608 (diff)
refactor: --unsafely-ignore-certificate-errors (#11629)
Diffstat (limited to 'cli/file_fetcher.rs')
-rw-r--r--cli/file_fetcher.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/file_fetcher.rs b/cli/file_fetcher.rs
index e61c3beb9..7029b9620 100644
--- a/cli/file_fetcher.rs
+++ b/cli/file_fetcher.rs
@@ -223,7 +223,7 @@ impl FileFetcher {
allow_remote: bool,
root_cert_store: Option<RootCertStore>,
blob_store: BlobStore,
- unsafely_treat_insecure_origin_as_secure: Option<Vec<String>>,
+ unsafely_ignore_certificate_errors: Option<Vec<String>>,
) -> Result<Self, AnyError> {
Ok(Self {
auth_tokens: AuthTokens::new(env::var(DENO_AUTH_TOKENS).ok()),
@@ -236,7 +236,7 @@ impl FileFetcher {
root_cert_store,
None,
None,
- unsafely_treat_insecure_origin_as_secure,
+ unsafely_ignore_certificate_errors,
)?,
blob_store,
})