Merge pull request #1738 from aluzzardi/fix-do-help

dagger do: fix --help regression caused by #1725
This commit is contained in:
Andrea Luzzardi
2022-03-09 15:13:50 -08:00
committed by GitHub

View File

@@ -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() {