Skip to content

Commit

Permalink
Specify the return type explicitly for getValueOfKey
Browse files Browse the repository at this point in the history
  • Loading branch information
mr3y-the-programmer committed Feb 5, 2024
1 parent 817ffd7 commit 37cf7a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ ksp {
arg("lyricist.packageName", "com.mr3y.podcaster")
}

fun getValueOfKey(key: String) {
if (System.getenv("CI").toBoolean()) {
fun getValueOfKey(key: String): String {
return if (System.getenv("CI").toBoolean()) {
System.getenv(key)
} else {
val properties = Properties()
Expand Down

0 comments on commit 37cf7a8

Please sign in to comment.