1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-03 12:58:54 -05:00

fix: correct spelling of certificate in --unsafely-ignore-certificate-errors warning message (#11634)

This commit is contained in:
David Sherret 2021-08-10 12:47:44 -04:00 committed by GitHub
parent d82351d677
commit 8b97b39d8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 8 deletions

View file

@ -126,10 +126,8 @@ impl ProgramState {
} else { } else {
format!("for: {}", insecure_allowlist.join(", ")) format!("for: {}", insecure_allowlist.join(", "))
}; };
let msg = format!( let msg =
"DANGER: TLS ceritificate validation is disabled {}", format!("DANGER: TLS certificate validation is disabled {}", domains);
domains
);
eprintln!("{}", colors::yellow(msg)); eprintln!("{}", colors::yellow(msg));
} }

View file

@ -1,2 +1,2 @@
DANGER: TLS ceritificate validation is disabled for all hostnames DANGER: TLS certificate validation is disabled for all hostnames
Hello Hello

View file

@ -1,3 +1,3 @@
DANGER: TLS ceritificate validation is disabled for: localhost DANGER: TLS certificate validation is disabled for: localhost
Hello Hello
success success

View file

@ -1,2 +1,2 @@
DANGER: TLS ceritificate validation is disabled for: deno.land DANGER: TLS certificate validation is disabled for: deno.land
200 200

View file

@ -1,3 +1,3 @@
DANGER: TLS ceritificate validation is disabled for: deno.land DANGER: TLS certificate validation is disabled for: deno.land
error: error sending request for url (https://localhost:5545/cli/tests/subdir/mod2.ts): error trying to connect: invalid certificate: UnknownIssuer error: error sending request for url (https://localhost:5545/cli/tests/subdir/mod2.ts): error trying to connect: invalid certificate: UnknownIssuer
at [WILDCARD]tests/cafile_url_imports.ts:1:0 at [WILDCARD]tests/cafile_url_imports.ts:1:0