Skip to content

Commit

Permalink
fix bug in smoke test task
Browse files Browse the repository at this point in the history
  • Loading branch information
Nolij committed Nov 5, 2024
1 parent 857edb1 commit 490e1ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -598,19 +598,19 @@ val smokeTest = tasks.register("smokeTest") {

Path(workDir).also { workPath ->
if (!workPath.exists())
workPath.createDirectory()
workPath.createDirectories()
}
Path(modsDir).also { modsPath ->
if (modsPath.exists())
modsPath.deleteRecursively()

modsPath.createDirectory()
modsPath.createDirectories()
}
Path(latestLog).also { logPath ->
logPath.deleteIfExists()
logPath.parent.also { logsPath ->
if (!logsPath.exists())
logsPath.createDirectory()
logsPath.createDirectories()
}
}

Expand Down

0 comments on commit 490e1ea

Please sign in to comment.