Compare commits

...

1 Commits

Author SHA1 Message Date
Jack O'Connor
c7a241e112 add an I_KNOW_TY_IS_PRE_RELEASE env var to turn off the pre-release warning 2025-07-15 18:15:12 -07:00

View File

@@ -68,10 +68,12 @@ fn run_check(args: CheckCommand) -> anyhow::Result<ExitStatus> {
let printer = Printer::default().with_verbosity(verbosity);
tracing::warn!(
"ty is pre-release software and not ready for production use. \
if std::env::var_os("I_KNOW_TY_IS_PRE_RELEASE").is_none() {
tracing::warn!(
"ty is pre-release software and not ready for production use. \
Expect to encounter bugs, missing features, and fatal errors.",
);
);
}
tracing::debug!("Version: {}", version::version());