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:
parent
d82351d677
commit
8b97b39d8e
5 changed files with 6 additions and 8 deletions
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
DANGER: TLS ceritificate validation is disabled for all hostnames
|
DANGER: TLS certificate validation is disabled for all hostnames
|
||||||
Hello
|
Hello
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
DANGER: TLS ceritificate validation is disabled for: localhost
|
DANGER: TLS certificate validation is disabled for: localhost
|
||||||
Hello
|
Hello
|
||||||
success
|
success
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
DANGER: TLS ceritificate validation is disabled for: deno.land
|
DANGER: TLS certificate validation is disabled for: deno.land
|
||||||
200
|
200
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue