Commit ae6dd50c authored by topjohnwu's avatar topjohnwu

Fix RepoUpdater force refresh bug

parent 77032ece
......@@ -22,7 +22,7 @@ class RepoUpdater(
private suspend fun forcedReload(cached: MutableSet<String>) = coroutineScope {
cached.forEach {
launch {
val repo = Repo(it)
val repo = repoDB.getRepo(it)!!
try {
repo.update()
repoDB.addRepo(repo)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment