From d8eaf55457559ce51fbb8b050fac2ded4df24739 Mon Sep 17 00:00:00 2001 From: teesloane Date: Tue, 31 Mar 2020 19:47:06 -0400 Subject: [PATCH] Fix: is-private? now respects paths in ignored-dirs. --- src/firn/file.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/firn/file.clj b/src/firn/file.clj index ddabbb04..3646b43f 100644 --- a/src/firn/file.clj +++ b/src/firn/file.clj @@ -68,7 +68,7 @@ Assumes the files has been read into memory and parsed to edn." [config f] (let [is-private? (get-keyword f "FIRN_PRIVATE") - file-path (f :path) + file-path (-> f :path (s/split #"/")) in-priv-folder? (some (set file-path) (config :ignored-dirs))] (or (some? in-priv-folder?)