summaryrefslogtreecommitdiff
path: root/runtime/worker_bootstrap.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/worker_bootstrap.rs')
-rw-r--r--runtime/worker_bootstrap.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/worker_bootstrap.rs b/runtime/worker_bootstrap.rs
index 519abf74c..ca2d4d8ec 100644
--- a/runtime/worker_bootstrap.rs
+++ b/runtime/worker_bootstrap.rs
@@ -6,7 +6,7 @@ use serde::Serialize;
use std::cell::RefCell;
use std::thread;
-use crate::colors;
+use deno_terminal::colors;
/// The log level to use when printing diagnostic log messages, warnings,
/// or errors in the worker.
@@ -77,7 +77,7 @@ impl Default for BootstrapOptions {
user_agent,
cpu_count,
no_color: !colors::use_color(),
- is_tty: colors::is_tty(),
+ is_tty: deno_terminal::is_stdout_tty(),
enable_op_summary_metrics: Default::default(),
enable_testing_features: Default::default(),
log_level: Default::default(),