dagger do: fix --help regression caused by #1725
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
b78be739aa
commit
f987fe0693
@ -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