stdlib: fix bug in dagger.io/io.#File
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
This commit is contained in:
parent
6199833aaf
commit
0b44243c65
@ -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
|
|
||||||
},
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user