Skip to content

Commit 0d899d6

Browse files
committed
fix: generating into sub-directory
1 parent 50cc66d commit 0d899d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/aidbox_sdk/core.clj

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
;;
2121

2222
(defn create-directory! [^java.io.File dir]
23+
(io/make-parents dir)
2324
(when-not (.mkdir dir)
2425
(throw (Exception. (str "Can't create directory: " dir)))))
2526

0 commit comments

Comments
 (0)