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
commit 64f3ce2fe3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -183,7 +183,7 @@ func (p *Plan) fillAction() {
}
actions := p.source.LookupPath(cue.MakePath(ActionSelector))
if actions.Exists() {
if !actions.Exists() {
return
}
for _, cg := range actions.Doc() {