aboutsummaryrefslogtreecommitdiffhomepage
path: root/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 2540a7c069..28912b4343 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -157,6 +157,7 @@ tasks.register("checkWork") {
val relative = patchFolder.relativize(it).toString().replace(".patch", "")
val source = sourceFolder.resolve(relative)
val target = targetFolder.resolve(relative)
+ if (target.isDirectory()) { return@forEach }
if (back) {
target.copyTo(source, overwrite = true)
} else {