Fix aliasing recursion with with-profile
If an alias uses with-profile, then the alias was not being handled correctly, causing a stack overflow. e.g {:user {"plz" ["with-profile" "+plz" "plz"]} :plz {:plugins [[lein-plz "0.2.1"]]}} lein plz
This commit is contained in:
parent
87c3499d3a
commit
0334cc8efa
1 changed files with 1 additions and 2 deletions
|
@ -11,8 +11,7 @@
|
|||
(hooke/with-scope
|
||||
(let [project (and project (project/set-profiles
|
||||
(project/project-with-profiles project)
|
||||
profiles))
|
||||
task-name (main/lookup-alias task-name project)]
|
||||
profiles))]
|
||||
(main/apply-task task-name project args))))
|
||||
|
||||
(defn profiles-in-group
|
||||
|
|
Loading…
Reference in a new issue