mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
fix: respect the --quiet
flag in more cases (#16998)
This commit is contained in:
parent
cb6700fa5a
commit
653aebfa1a
11 changed files with 27 additions and 29 deletions
|
@ -276,7 +276,7 @@ impl HttpClient {
|
|||
let response_headers = response.headers();
|
||||
|
||||
if let Some(warning) = response_headers.get("X-Deno-Warning") {
|
||||
eprintln!(
|
||||
log::warn!(
|
||||
"{} {}",
|
||||
crate::colors::yellow("Warning"),
|
||||
warning.to_str().unwrap()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue