remove unnecessary delete! codes

This commit is contained in:
llcc
2022-06-25 10:20:55 +08:00
committed by Tienson Qin
parent df84e16b97
commit 314c3dde7e
2 changed files with 3 additions and 9 deletions

View File

@@ -271,7 +271,7 @@
(unlink! [this repo path _opts]
(p/let [path (get-file-path nil path)
repo-dir (config/get-local-dir repo)
recycle-dir (str repo-dir config/app-name "/recycle")
recycle-dir (str repo-dir config/app-name "/.recycle")
file-name (-> (string/replace path repo-dir "")
(string/replace "/" "_")
(string/replace "\\" "_"))