mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-23 00:21:38 +03:00
vfs: hotfix remove bug
This commit is contained in:
parent
4047b5610c
commit
b5b99a3b55
@ -361,7 +361,8 @@ async fn handle_request(
|
||||
)
|
||||
}
|
||||
VfsAction::RemoveFile => {
|
||||
fs::remove_file(path).await?;
|
||||
fs::remove_file(&path).await?;
|
||||
open_files.remove(&path);
|
||||
(serde_json::to_vec(&VfsResponse::Ok).unwrap(), None)
|
||||
}
|
||||
VfsAction::RemoveDir => {
|
||||
|
Loading…
Reference in New Issue
Block a user