From db54a43a91c8efa5eea9ef37e92cad5524932de9 Mon Sep 17 00:00:00 2001 From: guillaume Date: Thu, 13 Jan 2022 00:42:22 +0100 Subject: [PATCH] Port #Subdir to hidden fields @jlongtine just implemented the possibility to use hidden fields. This PR uses this new implementation Pair: @jlongtine Signed-off-by: guillaume --- pkg/dagger.io/dagger/utils.cue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/dagger.io/dagger/utils.cue b/pkg/dagger.io/dagger/utils.cue index 7b53f2b0..4bd0bfcb 100644 --- a/pkg/dagger.io/dagger/utils.cue +++ b/pkg/dagger.io/dagger/utils.cue @@ -13,11 +13,8 @@ import ( // Example: "/build" path: string - // Subdirectory tree - output: #FS & copy.output - // Copy action - copy: engine.#Copy & { + _copy: engine.#Copy & { "input": engine.#Scratch source: { root: input @@ -25,4 +22,7 @@ import ( } dest: "/" } + + // Subdirectory tree + output: #FS & _copy.output }