diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-12-14 08:47:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-14 08:47:18 -0500 |
commit | 4a64ca850131a0aa07e8c781e6e194246f94eeb6 (patch) | |
tree | e8c6ac26e86813b33743475c366caaa58fe5bfdb /cli/util/progress_bar | |
parent | f9db129bdf1e09f6d5faaa73ad0cad27d2418798 (diff) |
chore: fix recent regression with `deno upgrade` not handling redirects (#17045)
Diffstat (limited to 'cli/util/progress_bar')
-rw-r--r-- | cli/util/progress_bar/mod.rs | 4 |
1 files changed, 0 insertions, 4 deletions
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) => { |