From 0d899d6627f9779d390c8c187391137478f0e82c Mon Sep 17 00:00:00 2001 From: Vitaly Kravtsov Date: Mon, 14 Oct 2024 21:05:55 +0600 Subject: [PATCH] fix: generating into sub-directory --- src/aidbox_sdk/core.clj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/aidbox_sdk/core.clj b/src/aidbox_sdk/core.clj index 7199c3e..94a119f 100644 --- a/src/aidbox_sdk/core.clj +++ b/src/aidbox_sdk/core.clj @@ -20,6 +20,7 @@ ;; (defn create-directory! [^java.io.File dir] + (io/make-parents dir) (when-not (.mkdir dir) (throw (Exception. (str "Can't create directory: " dir)))))