From 8dcb8fcc6cf814eed987ba4e0a01672249d662b4 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 18 Oct 2024 12:02:42 +0200 Subject: [PATCH] Fix issue with write-to-file --- src/datoteka/io.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datoteka/io.clj b/src/datoteka/io.clj index 9881aba..896ce29 100644 --- a/src/datoteka/io.clj +++ b/src/datoteka/io.clj @@ -244,7 +244,7 @@ (defn write-to-file! [src dst & {:keys [close] :or {close true} :as opts}] - (with-open [^OutputStream output (jio/make-output-stream dst opts)] + (with-open [^OutputStream dst (jio/make-output-stream dst opts)] (write! src dst opts))) (defn skip-fully