Skip to content

Commit

Permalink
Fix: is-private? now respects paths in ignored-dirs.
Browse files Browse the repository at this point in the history
  • Loading branch information
teesloane committed Mar 31, 2020
1 parent 5a43eb9 commit d8eaf55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/firn/file.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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?)
Expand Down

0 comments on commit d8eaf55

Please sign in to comment.