Skip to content

Commit

Permalink
TANAL-116: fix ns->relpath munging
Browse files Browse the repository at this point in the history
  • Loading branch information
Bronsa committed Jan 4, 2016
1 parent 5c50fb6 commit d89bd7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/clojure/clojure/tools/analyzer/jvm/utils.clj
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@
methods)))

(defn ns->relpath [s]
(str (s/replace (munge (str s)) \. \/) ".clj"))
(-> s str (s/replace \. \/) (s/replace \- \_) (str ".clj")))

(defn ns-url [ns]
(let [f (ns->relpath ns)]
Expand Down

0 comments on commit d89bd7e

Please sign in to comment.