Skip to content

Commit

Permalink
Updated build.gradle.kts.
Browse files Browse the repository at this point in the history
  • Loading branch information
vsnappy1 committed Nov 6, 2024
1 parent 6047fbe commit 18e480d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,5 @@ fun getSecret(name: String): String {
properties.load(localPropertiesFile.inputStream())
}

return properties.getProperty(name) ?: System.getenv(name)
?: throw GradleException("$name not found in local.properties or environment variables.")
return properties.getProperty(name) ?: "---"
}

0 comments on commit 18e480d

Please sign in to comment.