Skip to content

Commit

Permalink
revert change in prefix-dependency-imports
Browse files Browse the repository at this point in the history
  • Loading branch information
benedekfazekas committed Jul 5, 2015
1 parent 9b138e7 commit e614348
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/leiningen/source_deps.clj
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@
(info " prefixing imports in clojure files...")
(let [cleaned-name-version (clean-name-version pname pversion)
rel-src-path (relative-src-path src-path)
clj-files (clojure-source-files-relative ["target/srcdeps"])
clj-files (concat (clojure-source-files-relative ["target/srcdeps"])
(clojure-source-files-relative rel-src-path))
imports (->> clj-files
(reduce #(conj %1 (retrieve-import srcdeps (remove-2parents %2))) [])
(remove nil?)
Expand Down

0 comments on commit e614348

Please sign in to comment.