summaryrefslogtreecommitdiff
path: root/cli/util
diff options
context:
space:
mode:
Diffstat (limited to 'cli/util')
-rw-r--r--cli/util/draw_thread.rs2
-rw-r--r--cli/util/fs.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/cli/util/draw_thread.rs b/cli/util/draw_thread.rs
index 2fd81a78a..832c7f74b 100644
--- a/cli/util/draw_thread.rs
+++ b/cli/util/draw_thread.rs
@@ -2,7 +2,7 @@
use console_static_text::ConsoleStaticText;
use deno_core::parking_lot::Mutex;
-use deno_core::task::spawn_blocking;
+use deno_core::unsync::spawn_blocking;
use deno_runtime::ops::tty::ConsoleSize;
use once_cell::sync::Lazy;
use std::sync::Arc;
diff --git a/cli/util/fs.rs b/cli/util/fs.rs
index ff5ed8553..2ccd70b6d 100644
--- a/cli/util/fs.rs
+++ b/cli/util/fs.rs
@@ -3,7 +3,7 @@
use deno_core::anyhow::Context;
use deno_core::error::AnyError;
pub use deno_core::normalize_path;
-use deno_core::task::spawn_blocking;
+use deno_core::unsync::spawn_blocking;
use deno_core::ModuleSpecifier;
use deno_runtime::deno_crypto::rand;
use deno_runtime::deno_node::PathClean;