Skip to content

Commit f1cbc91

Browse files
committed
Fix NPE in build script
1 parent b380712 commit f1cbc91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,6 @@ tasks {
9898
// Specify pre-release label to publish the plugin in a custom Release Channel automatically. Read more:
9999
// https://plugins.jetbrains.com/docs/intellij/deployment.html#specifying-a-release-channel
100100
channels = properties("pluginVersion")
101-
.map { [(it.split('-')[1] ?: "default").split('\\.').find { true }.toLowerCase()] }
101+
.map { [((it.split('-') as List)[1] ?: "default").split('\\.').find { true }.toLowerCase()] }
102102
}
103103
}

0 commit comments

Comments
 (0)