Skip to content

Commit 48a68ce

Browse files
committed
chore; fix deprecation
1 parent e4f8700 commit 48a68ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.teamcity/builds/apiReferences/ReferenceProject.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import jetbrains.buildServer.configs.kotlin.RelativeId
77
import vcsRoots.KotlinLangOrg
88

99
private fun String.camelCase(delim: String = "-", join: String = "") =
10-
this.split(delim).joinToString(join) { it.capitalize() }
10+
this.split(delim).joinToString(join) { it.replaceFirstChar { char -> char.uppercase() } }
1111

1212
typealias ProjectReferenceAttachBuild = (project: Project, version: String) -> BuildType
1313

0 commit comments

Comments
 (0)