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: {
|
||||
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},
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user