Skip to content

Commit

Permalink
Add '.' to allowed profile hint characters
Browse files Browse the repository at this point in the history
  • Loading branch information
weavejester committed Feb 1, 2019
1 parent 3b054c1 commit ca7f9bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lein-template/src/leiningen/new/duct.clj
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"src/duct_hierarchy.edn" (resource "base/duct_hierarchy.edn")}})

(defn profile-names [hints]
(for [hint hints :when (re-matches #"\+[A-Za-z0-9-/]+" hint)]
(for [hint hints :when (re-matches #"\+[A-Za-z0-9-/.]+" hint)]
(keyword (subs hint 1))))

(defn profile-function-symbol [profile-kw]
Expand Down

0 comments on commit ca7f9bf

Please sign in to comment.