Skip to content

Commit

Permalink
Merge pull request #9 from borkdude/master
Browse files Browse the repository at this point in the history
Fix for leiningen issue #592
  • Loading branch information
Raynes committed Jun 8, 2012
2 parents 0fa50d0 + 97ff475 commit cad4fb6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/bultitude/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@
"Returns a sequence of File paths from a classloader."
[loader]
(when (instance? java.net.URLClassLoader loader)
(map
#(java.io.File. (.getPath ^java.net.URL %))
(.getURLs ^java.net.URLClassLoader loader))))
(map io/as-file (.getURLs ^java.net.URLClassLoader loader))))

(defn classpath-files
"Returns a sequence of File objects of the elements on the classpath."
Expand Down

0 comments on commit cad4fb6

Please sign in to comment.