mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 00:55:25 +00:00
Signed-off-by: bendy1234 <83143663+bendy1234@users.noreply.github.com> Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
This commit is contained in:
co-authored by
Geometrically
parent
fa4bca5cb8
commit
a873e6623b
@@ -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(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user