SNRK-57: Remove run
This commit is contained in:
parent
256fb16748
commit
52772cde7d
@ -12,9 +12,8 @@ internal class S3Directory(
|
||||
private val bucketName: String,
|
||||
private val currentDir: Path,
|
||||
) : Directory {
|
||||
override suspend fun get(filename: String): FileReader = run {
|
||||
override suspend fun get(filename: String): FileReader =
|
||||
S3FileReader(client, bucketName, currentDir / filename)
|
||||
}
|
||||
|
||||
override suspend fun create(filename: String, ignoreIfExists: Boolean) {
|
||||
if (!ignoreIfExists) {
|
||||
|
Loading…
Reference in New Issue
Block a user