fix lint errors
Signed-off-by: Tony Worm <tony@hofstadter.io>
This commit is contained in:
parent
0e32bc68f8
commit
b1b534992a
@ -11,7 +11,7 @@ import (
|
|||||||
contents: string | bytes
|
contents: string | bytes
|
||||||
|
|
||||||
#compute: [
|
#compute: [
|
||||||
dagger.#WriteFile & { dest: filename, content: contents, mode: permissions}
|
dagger.#WriteFile & {dest: filename, content: contents, mode: permissions},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ import (
|
|||||||
orig: (#read & {path: filename, "from": from}).data
|
orig: (#read & {path: filename, "from": from}).data
|
||||||
|
|
||||||
#compute: [
|
#compute: [
|
||||||
dagger.#WriteFile & { dest: filename, content: "\(orig)\(contents)", mode: permissions}
|
dagger.#WriteFile & {dest: filename, content: "\(orig)\(contents)", mode: permissions},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -41,7 +41,7 @@ import (
|
|||||||
string
|
string
|
||||||
#compute: [
|
#compute: [
|
||||||
dagger.#Load & {"from": from},
|
dagger.#Load & {"from": from},
|
||||||
dagger.#Export & { source: path }
|
dagger.#Export & {source: path},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -66,7 +66,7 @@ _#glob: {
|
|||||||
dagger.#Exec & {
|
dagger.#Exec & {
|
||||||
args: ["sh", "-c", "ls \(glob) > \(_tmppath)"]
|
args: ["sh", "-c", "ls \(glob) > \(_tmppath)"]
|
||||||
},
|
},
|
||||||
dagger.#Export & { source: _tmppath }
|
dagger.#Export & {source: _tmppath},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -127,5 +127,3 @@ TestGlob: {
|
|||||||
}
|
}
|
||||||
test: list.filenames & ["/etc/resolv.conf"]
|
test: list.filenames & ["/etc/resolv.conf"]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user