Permalink
Browse files

Merge branch 'master' of github.com:macourtney/drift

  • Loading branch information...
macourtney committed Sep 21, 2011
2 parents 4e84f5f + 01a46ae commit 539bfdefe86e1716f1b151043cdb0ee952331ab2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/drift/core.clj
View
@@ -113,7 +113,7 @@
migration-namespaces []
(if-let [migration-namespaces (:migration-namespaces (find-config))]
(migration-namespaces (find-migrate-dir-name) (migrate-namespace-prefix))
- (map namespace-string-for-file (loading-utils/all-class-path-file-names (migrate-namespace-dir)))))
+ (map namespace-string-for-file (filter #(re-matches #".*\.clj$" %) (loading-utils/all-class-path-file-names (migrate-namespace-dir))))))
(defn
migration-number-from-namespace [migration-namespace]

0 comments on commit 539bfde

Please sign in to comment.