Skip to content

Commit

Permalink
fix: generating into sub-directory
Browse files Browse the repository at this point in the history
  • Loading branch information
krvital committed Oct 14, 2024
1 parent 50cc66d commit 0d899d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/aidbox_sdk/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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)))))

Expand Down

0 comments on commit 0d899d6

Please sign in to comment.