summaryrefslogtreecommitdiff
path: root/cli/http_util.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-12-09 10:54:24 -0500
committerGitHub <noreply@github.com>2022-12-09 10:54:24 -0500
commit653aebfa1aa9121070df98ee88474b5f821fb15d (patch)
tree90766bc70aa83f4f16ec1c517e495cd7c6a98fbd /cli/http_util.rs
parentcb6700fa5aac03fb3e082f9ed2e01d74238e6a99 (diff)
fix: respect the `--quiet` flag in more cases (#16998)
Diffstat (limited to 'cli/http_util.rs')
-rw-r--r--cli/http_util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/http_util.rs b/cli/http_util.rs
index 5cb843a42..827cc75f5 100644
--- a/cli/http_util.rs
+++ b/cli/http_util.rs
@@ -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()