diff --git a/src/babashka/fs.cljc b/src/babashka/fs.cljc index edc21fb..97dcc44 100644 --- a/src/babashka/fs.cljc +++ b/src/babashka/fs.cljc @@ -969,8 +969,9 @@ _ (create-dirs dest) cp-opts (->copy-opts replace-existing nil nil nil)] (with-open - [fis (if (instance? InputStream zip-file) zip-file - (Files/newInputStream (as-path zip-file) (into-array java.nio.file.OpenOption []))) + [^InputStream fis + (if (instance? InputStream zip-file) zip-file + (Files/newInputStream (as-path zip-file) (into-array java.nio.file.OpenOption []))) zis (ZipInputStream. fis)] (loop [] (let [entry (.getNextEntry zis)]