Fix merge-profiles call
This commit is contained in:
parent
3f4e64f888
commit
3fd978a21e
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue