From d04bd503158d080bbf5bc289cdb18daa2a82c76b Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Mon, 5 Feb 2024 17:33:37 +0100 Subject: [PATCH] Fix nil pointer --- src/borkdude/tdn/pod.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/borkdude/tdn/pod.clj b/src/borkdude/tdn/pod.clj index 3bf9c15..725235c 100644 --- a/src/borkdude/tdn/pod.clj +++ b/src/borkdude/tdn/pod.clj @@ -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))