From 1cd962375cf97c30b1945d02426543f813d6bef4 Mon Sep 17 00:00:00 2001 From: jem Date: Mon, 16 Dec 2019 15:16:33 +0100 Subject: [PATCH] fixed delete-resource --- src/cryogen_core/classpath_able_io.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cryogen_core/classpath_able_io.clj b/src/cryogen_core/classpath_able_io.clj index c057c1c..b311ee1 100644 --- a/src/cryogen_core/classpath_able_io.clj +++ b/src/cryogen_core/classpath_able_io.clj @@ -92,8 +92,8 @@ (let [resource-paths (reverse (get-resource-paths-recursive "" path [""] :from-cp false))] - (doseq [path resource-paths] - (io/delete-file path)))) + (doseq [resource-path resource-paths] + (io/delete-file (str path resource-path))))) (defn copy-resources! [fs-prefix ;:- s/Str