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: {
from: dagger.#Artifact
path: string
read: *null | {
format: op.#Export.format
read: {
format: "string" | "json" | "yaml" | "lines"
data: {
_
string
#up: [
op.#Load & {
"from": from
},
op.#Export & {
source: path
"format": format
},
op.#Load & {"from": from},
op.#Export & {source: path, "format": format},
]
}
}