Skip to content

Commit

Permalink
fix #2949 (#3043)
Browse files Browse the repository at this point in the history
Signed-off-by: bendy1234 <[email protected]>
Co-authored-by: Geometrically <[email protected]>
  • Loading branch information
bendy1234 and Geometrically authored Dec 21, 2024
1 parent fa4bca5 commit a873e66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app-lib/src/api/logs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ pub async fn delete_logs_by_filename(
};

let path = logs_folder.join(filename);
io::remove_dir_all(&path).await?;
io::remove_file(&path).await?;
Ok(())
}

Expand Down

0 comments on commit a873e66

Please sign in to comment.