Skip to content

Commit 0f713a2

Browse files
ovitrifclaude
andcommitted
fix: add explicit return type for kotlin 2.3
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent f4c5253 commit 0f713a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/to/bitkit/ext/FileSystem.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import to.bitkit.utils.AppError
44
import java.io.File
55
import kotlin.io.path.exists
66

7-
fun File.ensureDir() = this.also {
7+
fun File.ensureDir(): File = this.also {
88
if (toPath().exists()) return this
99

1010
val path = if (extension.isEmpty()) this else parentFile

0 commit comments

Comments
 (0)