Permalink
Browse files

Hudson does not count as a hidden directory

  • Loading branch information...
1 parent fadb3d5 commit faee1c1ec412e7fb430a1fab3e162871ae2d6c68 @alienscience committed Jan 6, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/leiningen/war.clj
@@ -17,7 +17,7 @@
(defn unix-path [path] (re-gsub #"\\" "/" path))
(defn has-trailing-slash [path] (re-find #"/$" path))
(defn scratch-file? [path] (re-find #"[~#]$" path))
-(defn hidden? [path] (re-find #"/\." path))
+(defn hidden? [path] (re-find #"/\.(?!hudson)" path))
(defn find-files
"Returns all files in and below the given directory. If

0 comments on commit faee1c1

Please sign in to comment.