mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-06 08:18:58 +00:00
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:
parent
8a03928db6
commit
e0d211d7d1
1 changed files with 3 additions and 1 deletions
|
|
@ -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}");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue