pipeline: analysis: ignore CUE errors

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-10-20 14:37:31 -07:00
parent d01940b9a1
commit e37f8c5e53
2 changed files with 4 additions and 3 deletions

View File

@@ -119,8 +119,7 @@ func (e *Environment) LocalDirs() (map[string]string, error) {
newTaskFunc(noOpRunner),
)
for _, t := range flow.Tasks() {
v := compiler.Wrap(t.Value())
if err := localdirs(v.Lookup("#up")); err != nil {
if err := localdirs(compiler.Wrap(t.Value())); err != nil {
return nil, err
}
}