Grant non-project profile access to with-profile
This commit is contained in:
parent
fe6a0d1db2
commit
3a2cf94324
1 changed files with 3 additions and 1 deletions
|
@ -8,7 +8,9 @@
|
||||||
"Apply the given task with a comma-separated profile list."
|
"Apply the given task with a comma-separated profile list."
|
||||||
[project profiles task-name args]
|
[project profiles task-name args]
|
||||||
(hooke/with-scope
|
(hooke/with-scope
|
||||||
(let [project (and project (project/set-profiles project profiles))
|
(let [project (and project (project/set-profiles
|
||||||
|
(project/project-with-profiles project)
|
||||||
|
profiles))
|
||||||
task-name (main/lookup-alias task-name project)]
|
task-name (main/lookup-alias task-name project)]
|
||||||
(main/apply-task task-name project args))))
|
(main/apply-task task-name project args))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue