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