Skip to content

Commit

Permalink
Remove unused import in commands.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
ericwang401 committed Mar 29, 2024
1 parent c1a4e75 commit 30c5659
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src-tauri/src/commands.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
use std::env::temp_dir;
use std::io::Cursor;
use std::path::Path;

use reqwest::Client;
use tauri::api::dialog::blocking::FileDialogBuilder;
use tokio::fs;
use tokio::fs::create_dir;
use crate::aggregator::aggregate;
use crate::analyzer::analyze;

Expand Down Expand Up @@ -51,6 +51,7 @@ pub async fn process_data(
) -> Result<(), String> {
let temp_dir = tempfile::tempdir().map_err(|e| e.to_string())?;
let data_dir = temp_dir.path().join("data");
create_dir(&data_dir).await.map_err(|e| e.to_string())?;
dbg!(temp_dir.path());
let dependencies_dir = app_handle
.path_resolver()
Expand Down

0 comments on commit 30c5659

Please sign in to comment.