From 4a64ca850131a0aa07e8c781e6e194246f94eeb6 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 14 Dec 2022 08:47:18 -0500 Subject: chore: fix recent regression with `deno upgrade` not handling redirects (#17045) --- cli/util/progress_bar/mod.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cli/util') diff --git a/cli/util/progress_bar/mod.rs b/cli/util/progress_bar/mod.rs index 122db7a59..83292e2d1 100644 --- a/cli/util/progress_bar/mod.rs +++ b/cli/util/progress_bar/mod.rs @@ -76,10 +76,6 @@ impl ProgressBar { } } - pub fn is_enabled(&self) -> bool { - self.draw_thread.is_some() - } - pub fn update(&self, msg: &str) -> UpdateGuard { match &self.draw_thread { Some(draw_thread) => { -- cgit v1.2.3