Lint fixes
This commit is contained in:
parent
ae976925fb
commit
fe912249b1
|
@ -18,3 +18,4 @@ profiles.clj
|
|||
resources/posts/
|
||||
/resources/author/
|
||||
resources/index/
|
||||
*.eastwood
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns shapey-shifty.index.index
|
||||
(:require [clucy.core :as clucy]
|
||||
[clojure.java.io :as io]
|
||||
[shapey-shifty.posts.posts-io :as post-io]))
|
||||
|
||||
(def index-path (atom "resources/index"))
|
||||
|
@ -14,7 +15,7 @@
|
|||
(crawl-posts! path post-io/read-post))
|
||||
([path parsing-fn]
|
||||
(->> path
|
||||
clojure.java.io/file
|
||||
io/file
|
||||
file-seq
|
||||
(filter #(.isFile %))
|
||||
(mapv #(parsing-fn %))
|
||||
|
|
Loading…
Reference in New Issue