diff options
| author | Matt Mastracci <matthew@mastracci.com> | 2023-08-23 17:03:05 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-23 17:03:05 -0600 |
| commit | b1ce2e41676ab5bc807a705b072986d9357fece5 (patch) | |
| tree | 18d9b7796221d6236c9e993602c56c769345b6ce /cli/util | |
| parent | af1b794e53182dfe19cc675a107138263f08476c (diff) | |
fix(ext/web): add stream tests to detect v8slice split bug (#20253)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/util')
| -rw-r--r-- | cli/util/draw_thread.rs | 2 | ||||
| -rw-r--r-- | cli/util/fs.rs | 2 |
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; |
