dagger do: fix --help regression caused by #1725

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2022-03-09 10:21:49 -08:00
parent b78be739aa
commit f987fe0693

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