Skip to content

Commit

Permalink
fix: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
MordechaiHadad committed Nov 5, 2024
1 parent acb26c9 commit c1c9a85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/handlers/erase_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use anyhow::{anyhow, Result};
use tokio::fs;
use tracing::info;

use crate::{config::Config, helpers::directories::{self, get_downloads_directory}};
use crate::{config::Config, helpers::directories::{self}};

/// Starts the erase process based on the provided `Config`.
///
Expand Down Expand Up @@ -76,6 +76,7 @@ pub async fn start(config: Config) -> Result<()> {
}
} else {
use what_the_path::shell::Shell;
use crate::helpers::directories::get_downloads_directory;

let shell = Shell::detect_by_shell_var()?;

Expand Down

0 comments on commit c1c9a85

Please sign in to comment.