diff --git a/cli/program_state.rs b/cli/program_state.rs index 0ec233b88b..089f2b8639 100644 --- a/cli/program_state.rs +++ b/cli/program_state.rs @@ -126,10 +126,8 @@ impl ProgramState { } else { format!("for: {}", insecure_allowlist.join(", ")) }; - let msg = format!( - "DANGER: TLS ceritificate validation is disabled {}", - domains - ); + let msg = + format!("DANGER: TLS certificate validation is disabled {}", domains); eprintln!("{}", colors::yellow(msg)); } diff --git a/cli/tests/cafile_ts_fetch_unsafe_ssl.ts.out b/cli/tests/cafile_ts_fetch_unsafe_ssl.ts.out index 66b3258ee2..1dc61c837a 100644 --- a/cli/tests/cafile_ts_fetch_unsafe_ssl.ts.out +++ b/cli/tests/cafile_ts_fetch_unsafe_ssl.ts.out @@ -1,2 +1,2 @@ -DANGER: TLS ceritificate validation is disabled for all hostnames +DANGER: TLS certificate validation is disabled for all hostnames Hello diff --git a/cli/tests/cafile_url_imports_unsafe_ssl.ts.out b/cli/tests/cafile_url_imports_unsafe_ssl.ts.out index 2a3df0ea4d..daebcd7669 100644 --- a/cli/tests/cafile_url_imports_unsafe_ssl.ts.out +++ b/cli/tests/cafile_url_imports_unsafe_ssl.ts.out @@ -1,3 +1,3 @@ -DANGER: TLS ceritificate validation is disabled for: localhost +DANGER: TLS certificate validation is disabled for: localhost Hello success diff --git a/cli/tests/deno_land_unsafe_ssl.ts.out b/cli/tests/deno_land_unsafe_ssl.ts.out index 5ca4d68e2a..cbf52b076e 100644 --- a/cli/tests/deno_land_unsafe_ssl.ts.out +++ b/cli/tests/deno_land_unsafe_ssl.ts.out @@ -1,2 +1,2 @@ -DANGER: TLS ceritificate validation is disabled for: deno.land +DANGER: TLS certificate validation is disabled for: deno.land 200 diff --git a/cli/tests/localhost_unsafe_ssl.ts.out b/cli/tests/localhost_unsafe_ssl.ts.out index 0bb6d0fb43..9ea991a64d 100644 --- a/cli/tests/localhost_unsafe_ssl.ts.out +++ b/cli/tests/localhost_unsafe_ssl.ts.out @@ -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 at [WILDCARD]tests/cafile_url_imports.ts:1:0