Fix for ktlint

This commit is contained in:
Ray c 2024-04-15 08:24:03 +00:00
parent 72027aa198
commit 239b4d6161
1 changed files with 5 additions and 2 deletions

View File

@ -326,8 +326,11 @@ internal class RepoAdder(
}
@AnyThread
internal suspend fun addArchiveRepo(repo: Repository, proxy: Proxy? = null,
locales: LocaleListCompat? = null) =
internal suspend fun addArchiveRepo(
repo: Repository,
proxy: Proxy? = null,
locales: LocaleListCompat? = null
) =
withContext(coroutineContext) {
if (repo.isArchiveRepo) error { "Repo ${repo.address} is already an archive repo." }