diff --git a/crates/turborepo-lib/src/shim.rs b/crates/turborepo-lib/src/shim.rs index ede50dcd26b51..ee8421dfcc170 100644 --- a/crates/turborepo-lib/src/shim.rs +++ b/crates/turborepo-lib/src/shim.rs @@ -17,7 +17,7 @@ use semver::Version; use serde::Deserialize; use thiserror::Error; use tiny_gradient::{GradientStr, RGB}; -use tracing::debug; +use tracing::{debug, warn}; use turbo_updater::display_update_check; use turbopath::{AbsoluteSystemPath, AbsoluteSystemPathBuf}; use turborepo_repository::{ @@ -609,7 +609,7 @@ fn run_correct_turbo( let should_warn_on_global = env::var(TURBO_GLOBAL_WARNING_DISABLED) .map_or(true, |disable| !matches!(disable.as_str(), "1" | "true")); if should_warn_on_global { - eprintln!("No locally installed `turbo` found. Using version: {version}."); + warn!("No locally installed `turbo` found. Using version: {version}."); } Ok(cli::run(Some(repo_state), subscriber, ui)?) }