Use Kotlin Path instead of Java Path
Test Workflow / Lint and test library (pull_request) Failing after 1m13s
Details
Test Workflow / Lint and test library (pull_request) Failing after 1m13s
Details
This commit is contained in:
parent
8500f69479
commit
9169206ed8
|
@ -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),
|
||||
),
|
||||
)
|
||||
|
||||
|
|
Reference in New Issue