Skip to content

Commit

Permalink
feat: enable UI by default (#8245)
Browse files Browse the repository at this point in the history
### Description

TSIA

### Testing Instructions

~~Unit test update shows that default is now true~~ I forgot that these
tests don't run in a TTY so they still won't have the UI enabled.

Manual test that a fresh repo with no `experimentalUI` key in
`turbo.json` will use the UI.
  • Loading branch information
chris-olszewski committed Jun 4, 2024
1 parent 935d996 commit 50f53a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/turborepo-lib/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ impl ConfigurationOptions {
}

pub fn experimental_ui(&self) -> bool {
self.experimental_ui.unwrap_or_default() && atty::is(atty::Stream::Stdout)
self.experimental_ui.unwrap_or(true) && atty::is(atty::Stream::Stdout)
}
}

Expand Down

0 comments on commit 50f53a8

Please sign in to comment.