fix: respect the --quiet flag in more cases (#16998)

This commit is contained in:
David Sherret 2022-12-09 10:54:24 -05:00 committed by GitHub
parent cb6700fa5a
commit 653aebfa1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 27 additions and 29 deletions

View file

@ -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()