Skip to content

Commit 37cf7a8

Browse files
Specify the return type explicitly for getValueOfKey
1 parent 817ffd7 commit 37cf7a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ ksp {
137137
arg("lyricist.packageName", "com.mr3y.podcaster")
138138
}
139139

140-
fun getValueOfKey(key: String) {
141-
if (System.getenv("CI").toBoolean()) {
140+
fun getValueOfKey(key: String): String {
141+
return if (System.getenv("CI").toBoolean()) {
142142
System.getenv(key)
143143
} else {
144144
val properties = Properties()

0 commit comments

Comments
 (0)