Use Kotlin Path instead of Java Path
Test Workflow / Lint and test library (pull_request) Failing after 1m13s Details

This commit is contained in:
Gleb Koval 2024-01-07 16:01:53 +00:00
parent 8500f69479
commit 9169206ed8
Signed by: cyclane
GPG Key ID: 15E168A8B332382C
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
package filesystem
import java.nio.file.FileAlreadyExistsException
import java.nio.file.Path
import kotlin.io.path.Path
import kotlin.io.path.createDirectory
import kotlin.io.path.createFile
import kotlin.io.path.writeText
@ -30,7 +30,7 @@ class FSCreator {
val queue =
ArrayDeque(
listOf(
entryToCreate to Path.of(destination),
entryToCreate to Path(destination),
),
)