From 7e6d483b80354a7452afec76b4ba6fa2fc40d346 Mon Sep 17 00:00:00 2001 From: Anthony Shew Date: Wed, 31 Jul 2024 22:49:07 -0600 Subject: [PATCH] Fix comment order. --- crates/turborepo-lib/src/task_graph/visitor.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/turborepo-lib/src/task_graph/visitor.rs b/crates/turborepo-lib/src/task_graph/visitor.rs index 3af701e111b62..e34f35548c277 100644 --- a/crates/turborepo-lib/src/task_graph/visitor.rs +++ b/crates/turborepo-lib/src/task_graph/visitor.rs @@ -912,13 +912,14 @@ impl ExecContext { cmd.envs(self.execution_env.iter()); // Always last to make sure it overwrites any user configured env var. cmd.env("TURBO_HASH", &self.task_hash); - // enable task access tracing // Allow downstream tools to detect if the task is being ran with TUI if self.experimental_ui { cmd.env("TURBO_IS_TUI", "true"); } + // enable task access tracing + // set the trace file env var - frameworks that support this can use it to // write out a trace file that we will use to automatically cache the task if self.task_access.is_enabled() {