Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
velios committed Nov 12, 2023
1 parent 50a70cb commit fbfc6c3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/bb_excel/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
:hdr false})

(defn- get-zipfile
"Retrieve ZipFile object if provided `file-or-filename` point to existing file or nil"
"Retrieve ZipFile object if provided `file-or-filename` point to existing file."
[file-or-filename]
(when-let [^File file (condp instance? file-or-filename
String (io/file file-or-filename)
Expand All @@ -67,8 +67,7 @@
[]))

(defn get-sheet-names
"Retrieves a list of Sheet Names from a given Excel Spreadsheet
Returns nil if the file does not exist or a non-string is passed as the `file-or-filename`"
"Retrieves a list of Sheet Names from a given Excel Spreadsheet"
[file-or-filename]
(let [^ZipFile zipfile (get-zipfile file-or-filename)]
(get-sheet-names* zipfile)))
Expand Down

0 comments on commit fbfc6c3

Please sign in to comment.