summaryrefslogtreecommitdiff
path: root/cli/worker.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/worker.rs')
-rw-r--r--cli/worker.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/cli/worker.rs b/cli/worker.rs
index a05dff4b2..a49929ca5 100644
--- a/cli/worker.rs
+++ b/cli/worker.rs
@@ -601,7 +601,8 @@ impl CliMainWorkerFactory {
locale: deno_core::v8::icu::get_language_tag(),
location: shared.options.location.clone(),
no_color: !colors::use_color(),
- is_tty: deno_terminal::is_stdout_tty(),
+ is_stdout_tty: deno_terminal::is_stdout_tty(),
+ is_stderr_tty: deno_terminal::is_stderr_tty(),
unstable: shared.options.unstable,
unstable_features,
user_agent: version::get_user_agent().to_string(),
@@ -811,7 +812,8 @@ fn create_web_worker_callback(
locale: deno_core::v8::icu::get_language_tag(),
location: Some(args.main_module.clone()),
no_color: !colors::use_color(),
- is_tty: deno_terminal::is_stdout_tty(),
+ is_stdout_tty: deno_terminal::is_stdout_tty(),
+ is_stderr_tty: deno_terminal::is_stderr_tty(),
unstable: shared.options.unstable,
unstable_features,
user_agent: version::get_user_agent().to_string(),