Fix merge-profiles call

This commit is contained in:
Marko Topolnik 2013-04-10 13:18:58 +02:00
parent 3f4e64f888
commit 3fd978a21e

View file

@ -199,8 +199,7 @@ Subcommands:
as described above." as described above."
([project] (repl project ":start")) ([project] (repl project ":start"))
([project subcommand & opts] ([project subcommand & opts]
(let [profiles (map :repl [(:profiles project) (user/profiles)]) (let [project (-> (project/merge-profiles project [:repl])
project (-> (project/merge-profiles project profiles)
(update-in [:eval-in] #(or % :leiningen)))] (update-in [:eval-in] #(or % :leiningen)))]
(if (= subcommand ":connect") (if (= subcommand ":connect")
(client project (doto (connect-string project opts) (client project (doto (connect-string project opts)