Skip to content

Commit

Permalink
correct misreporting max filename length for progress bar - #110
Browse files Browse the repository at this point in the history
  • Loading branch information
retrogradeorbit committed Jul 7, 2020
1 parent 05da53d commit 00a5724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clj/spire/module/download.clj
Expand Up @@ -179,7 +179,7 @@
(into #{}))

max-filename-length (->> remote-to-local
(map count)
(map (comp count #(.getName %) io/file :filename remote))
(apply max 0))

all-files-total total
Expand Down

0 comments on commit 00a5724

Please sign in to comment.