Skip to content

Commit

Permalink
Fix issue with write-to-file
Browse files Browse the repository at this point in the history
  • Loading branch information
niwinz committed Oct 18, 2024
1 parent 78f86a6 commit 8dcb8fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datoteka/io.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8dcb8fc

Please sign in to comment.