Browse Source

Converted to a thread

Stephen Starkey 2 months ago
parent
commit
2c790a4ece
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/ensure_mounted/core.clj

+ 1
- 1
src/ensure_mounted/core.clj View File

@@ -15,7 +15,7 @@
15 15
 (def mount! (partial sh/sh "mount"))
16 16
 (def-> reader FileInputStream. InputStreamReader. BufferedReader.)
17 17
 
18
-(defn lines [filename] (with-open [r (reader filename)] (doall (line-seq r))))
18
+(defn lines [filename] (with-open [r (reader filename)] (-> r line-seq doall)))
19 19
 
20 20
 (defn qualify-line [{:keys [active?] :as result} line]
21 21
   (cond