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) <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-03-28 16:42:51 -04:00
parent 8a03928db6
commit e0d211d7d1

View file

@ -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<GitCloneParams> {
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}");