Lint fixes

This commit is contained in:
Charlotte Allen 2020-02-04 17:04:26 -08:00
parent ae976925fb
commit fe912249b1
No known key found for this signature in database
GPG Key ID: 3A64C3A6C69860B0
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@ -18,3 +18,4 @@ profiles.clj
resources/posts/
/resources/author/
resources/index/
*.eastwood

View File

@ -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 %))