mirror of
https://github.com/ProtonMail/protoncore_android.git
synced 2026-05-15 09:50:41 +00:00
fix(plugins-detekt): Fetch Detekt config from main branch on GitHub.
This commit is contained in:
@@ -292,7 +292,7 @@ private fun downloadDetektConfig(githubConfigFilePath: String, to: File) {
|
||||
return
|
||||
}
|
||||
|
||||
val url = "https://raw.githubusercontent.com/ProtonMail/protoncore_android/master/$githubConfigFilePath"
|
||||
val url = "https://raw.githubusercontent.com/ProtonMail/protoncore_android/main/$githubConfigFilePath"
|
||||
println("Fetching Detekt rule-set from $url")
|
||||
try {
|
||||
val content = URL(url).openStream().bufferedReader().readText()
|
||||
|
||||
Reference in New Issue
Block a user