Skip to content

Commit

Permalink
Fix nil pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Feb 5, 2024
1 parent 163e1a5 commit d04bd50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/borkdude/tdn/pod.clj
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
(def jiofile-key (str ::file))

(def jiofile-read-handler
(transit/read-handler (fn [^String s] (java.io.File. s))))
(transit/read-handler (fn [^String s] (java.io.File. (str s)))))

(def jiofile-write-handler
(transit/write-handler jiofile-key str))
Expand Down

0 comments on commit d04bd50

Please sign in to comment.