From 490e1eaecb25a475e3067ff5e29ce6b59141e480 Mon Sep 17 00:00:00 2001 From: Nolij Date: Mon, 4 Nov 2024 23:23:44 -0500 Subject: [PATCH] fix bug in smoke test task --- build.gradle.kts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 4a069ea..841f5b2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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() } }