engine: fix hidden field path

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2021-12-09 14:15:19 -05:00
parent 89daebbc4c
commit 1d71f77151

View File

@ -11,12 +11,13 @@ import (
"go.dagger.io/dagger/environment"
"go.dagger.io/dagger/plancontext"
"go.dagger.io/dagger/solver"
"go.dagger.io/dagger/stdlib"
)
var (
ErrNotTask = errors.New("not a task")
tasks sync.Map
typePath = cue.MakePath(cue.Hid("_type", "alpha.dagger.io/dagger"))
typePath = cue.MakePath(cue.Hid("_type", stdlib.EnginePackage))
)
type NewFunc func() Task