Skip to content

Commit

Permalink
Fix comment order.
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyshew committed Aug 1, 2024
1 parent 56ebca3 commit 7e6d483
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/turborepo-lib/src/task_graph/visitor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 7e6d483

Please sign in to comment.