From e0d211d7d1c142e2d7064cd885925a346a759684 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Sat, 28 Mar 2026 16:42:51 -0400 Subject: [PATCH] Fix clippy absolute_paths violation in ssh_common detect_clone_params Import the daytona module instead of using inline crate::daytona:: path, matching the workspace's import style rules. Co-Authored-By: Claude Opus 4.6 (1M context) --- lib/crates/fabro-sandbox/src/ssh_common.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/crates/fabro-sandbox/src/ssh_common.rs b/lib/crates/fabro-sandbox/src/ssh_common.rs index 7ea9ddc43..26b6d97c7 100644 --- a/lib/crates/fabro-sandbox/src/ssh_common.rs +++ b/lib/crates/fabro-sandbox/src/ssh_common.rs @@ -2,6 +2,8 @@ use std::time::Instant; +#[cfg(feature = "daytona")] +use crate::daytona; #[cfg(feature = "daytona")] use std::path::Path; @@ -46,7 +48,7 @@ pub struct GitCloneParams { #[cfg(feature = "daytona")] pub fn detect_clone_params(cwd: &Path) -> Option { - let (detected_url, branch) = match crate::daytona::detect_repo_info(cwd) { + let (detected_url, branch) = match daytona::detect_repo_info(cwd) { Ok(info) => info, Err(err) => { tracing::warn!("No git repo detected for sandbox clone: {err}");