From 536b2ed570ea0fb1f79f734c412dae8fda9dc153 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Sun, 15 Nov 2020 16:49:20 +0100 Subject: [PATCH] Update sci --- sci | 2 +- test/babashka/scripts/download_and_extract_zip.bb | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sci b/sci index c7c223a2..4d8d0509 160000 --- a/sci +++ b/sci @@ -1 +1 @@ -Subproject commit c7c223a2318d5326747a60e5ac03a74b6c917a9b +Subproject commit 4d8d05096975a66be312ba2162d04fc53ca6b761 diff --git a/test/babashka/scripts/download_and_extract_zip.bb b/test/babashka/scripts/download_and_extract_zip.bb index befe9258..6229a904 100644 --- a/test/babashka/scripts/download_and_extract_zip.bb +++ b/test/babashka/scripts/download_and_extract_zip.bb @@ -15,8 +15,12 @@ _ (.setConnectTimeout conn 2000) _ (.setReadTimeout conn 2000)] (.connect conn) + (binding [*out* (io/writer System/out)] + (prn :before)) (with-open [is (.getInputStream conn)] (io/copy is zip-file)) + (binding [*out* (io/writer System/out)] + (prn :after)) (let [bb-file (io/file tmp-dir "bb-extracted") fs (java.nio.file.FileSystems/newFileSystem (.toPath zip-file) nil) to-extract (.getPath fs "bb" (into-array String []))]