Skip to content

Commit ef907bd

Browse files
committed
build: check if the DCEVM executable's path is blank or not
1 parent bbb1324 commit ef907bd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,11 @@ val dcevmExecutable: String? by project
4949
tasks {
5050
runIde {
5151
if (project.hasProperty("dcevm")) {
52-
dcevmExecutable?.let(::setExecutable)
52+
val dcevm = dcevmExecutable ?: return@runIde
53+
54+
if (dcevm.isNotBlank()) {
55+
setExecutable(dcevm)
56+
}
5357
}
5458
}
5559

0 commit comments

Comments
 (0)