From 09dc823e1581bc35a748e0f89e7eca4b95ce7642 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Tue, 14 Apr 2026 15:37:06 -0400 Subject: [PATCH] Fix clippy absolute_paths warnings in install command Import fabro_util::path and use path::contract_tilde instead of fully-qualified fabro_util::path::contract_tilde calls. Co-Authored-By: Claude Opus 4.6 (1M context) --- lib/crates/fabro-cli/src/commands/install.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/crates/fabro-cli/src/commands/install.rs b/lib/crates/fabro-cli/src/commands/install.rs index b1a1b9307..6b6efd1d7 100644 --- a/lib/crates/fabro-cli/src/commands/install.rs +++ b/lib/crates/fabro-cli/src/commands/install.rs @@ -25,7 +25,7 @@ use fabro_types::settings::{CliSettings, SettingsLayer}; use fabro_util::printer::Printer; use fabro_util::terminal::Styles; use fabro_util::version::FABRO_VERSION; -use fabro_util::{dev_token, session_secret}; +use fabro_util::{dev_token, path, session_secret}; use futures::future::BoxFuture; use rand::Rng; use ring::rand::SystemRandom; @@ -1536,21 +1536,20 @@ async fn run_install_inner( " {} Saved {} runtime secrets to {}", s.green.apply_to("✔"), server_env_pairs.len(), - fabro_util::path::contract_tilde(&Storage::new(&storage_dir).server_state().env_path()) - .display() + path::contract_tilde(&Storage::new(&storage_dir).server_state().env_path()).display() ); fabro_util::printerr!( printer, " {} Saved {} workflow-visible secrets to {}", s.green.apply_to("✔"), vault_secrets.len(), - fabro_util::path::contract_tilde(&Storage::new(&storage_dir).secrets_path()).display() + path::contract_tilde(&Storage::new(&storage_dir).secrets_path()).display() ); fabro_util::printerr!( printer, " {} Wrote {}", s.green.apply_to("✔"), - fabro_util::path::contract_tilde(&config_path).display() + path::contract_tilde(&config_path).display() ); if server_was_running { fabro_util::printerr!(