Merge pull request #1738 from aluzzardi/fix-do-help
dagger do: fix --help regression caused by #1725
This commit is contained in:
commit
64f3ce2fe3
@ -183,7 +183,7 @@ func (p *Plan) fillAction() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
actions := p.source.LookupPath(cue.MakePath(ActionSelector))
|
actions := p.source.LookupPath(cue.MakePath(ActionSelector))
|
||||||
if actions.Exists() {
|
if !actions.Exists() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
for _, cg := range actions.Doc() {
|
for _, cg := range actions.Doc() {
|
||||||
|
Reference in New Issue
Block a user