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:
parent
fa4bca5cb8
commit
a873e6623b
@ -289,7 +289,7 @@ pub async fn delete_logs_by_filename(
|
|||||||
};
|
};
|
||||||
|
|
||||||
let path = logs_folder.join(filename);
|
let path = logs_folder.join(filename);
|
||||||
io::remove_dir_all(&path).await?;
|
io::remove_file(&path).await?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user