From 1d71f77151f88547e8185e501a7c88f92dbba6ac Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Thu, 9 Dec 2021 14:15:19 -0500 Subject: [PATCH] engine: fix hidden field path Signed-off-by: Andrea Luzzardi --- plan/task/task.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plan/task/task.go b/plan/task/task.go index 784c5b9a..53dc1ecc 100644 --- a/plan/task/task.go +++ b/plan/task/task.go @@ -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