stdlib: fix bug in dagger.io/io.#File

Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
This commit is contained in:
Solomon Hykes 2021-04-30 23:37:15 +00:00
parent 6199833aaf
commit 0b44243c65

View File

@ -8,18 +8,13 @@ import (
#File: { #File: {
from: dagger.#Artifact from: dagger.#Artifact
path: string path: string
read: *null | { read: {
format: op.#Export.format format: "string" | "json" | "yaml" | "lines"
data: { data: {
_ string
#up: [ #up: [
op.#Load & { op.#Load & {"from": from},
"from": from op.#Export & {source: path, "format": format},
},
op.#Export & {
source: path
"format": format
},
] ]
} }
} }