Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add local and global versions in debug #3661

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions crates/turborepo-lib/src/shim.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ impl LocalTurboState {
let package_json: PackageJson =
serde_json::from_reader(File::open(local_turbo_package_path).ok()?).ok()?;

debug!("Local turbo version: {}", package_json.version);
Some(Self {
bin_path: local_turbo_path,
version: package_json.version,
Expand Down Expand Up @@ -510,6 +511,7 @@ pub fn run() -> Result<Payload> {
let args = ShimArgs::parse()?;

init_env_logger(args.verbosity);
debug!("Global turbo version: {}", get_version());

// If skip_infer is passed, we're probably running local turbo with
// global turbo having handled the inference. We can run without any
Expand Down