From fe912249b1b3ccdba50d75a92ca5eca8f09629f9 Mon Sep 17 00:00:00 2001 From: Charlotte Allen Date: Tue, 4 Feb 2020 17:04:26 -0800 Subject: [PATCH] Lint fixes --- .gitignore | 1 + src/clj/shapey_shifty/index/index.clj | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index e0f2c3e..ab7e10a 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ profiles.clj resources/posts/ /resources/author/ resources/index/ +*.eastwood diff --git a/src/clj/shapey_shifty/index/index.clj b/src/clj/shapey_shifty/index/index.clj index c73676c..1196214 100644 --- a/src/clj/shapey_shifty/index/index.clj +++ b/src/clj/shapey_shifty/index/index.clj @@ -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 %))