Skip to content

Commit

Permalink
Remove extraneous '\''when'\'' and add note about project-with-profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Neufeld committed Oct 28, 2013
1 parent c652ebe commit d20e3a5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/leiningen/try.clj
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@
(defn- start-try-repl!
"Resolve try-dependencies and start REPL."
[project]
(let [project (when project
(-> project
(add-reload-data-readers-injection)
(prj/project-with-profiles)
(prj/merge-profiles [:try])))]
(let [project (-> project
add-reload-data-readers-injection
;; Necessary to update project map metadata Lein uses internally
prj/project-with-profiles
(prj/merge-profiles [:try]))]
(main/apply-task "repl" project nil)))

(defn ^:no-project-needed ^:higher-order try
Expand Down

0 comments on commit d20e3a5

Please # to comment.