mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-15 08:44:08 -05:00
Lint
This commit is contained in:
@@ -61,9 +61,10 @@ class TestExtensionCompatibility {
|
|||||||
SettingsRegistry.clear()
|
SettingsRegistry.clear()
|
||||||
applicationSetup()
|
applicationSetup()
|
||||||
repos.forEach {
|
repos.forEach {
|
||||||
val store = runBlocking {
|
val store =
|
||||||
ExtensionStoreService.fetch(it)
|
runBlocking {
|
||||||
}
|
ExtensionStoreService.fetch(it)
|
||||||
|
}
|
||||||
ExtensionStoreService.upsert(store)
|
ExtensionStoreService.upsert(store)
|
||||||
}
|
}
|
||||||
ExtensionStoreService.syncDbToPrefs()
|
ExtensionStoreService.syncDbToPrefs()
|
||||||
@@ -84,7 +85,8 @@ class TestExtensionCompatibility {
|
|||||||
else -> {
|
else -> {
|
||||||
try {
|
try {
|
||||||
uninstallExtension(it.pkgName)
|
uninstallExtension(it.pkgName)
|
||||||
} catch (_: Exception) {}
|
} catch (_: Exception) {
|
||||||
|
}
|
||||||
installExtension(it.pkgName)
|
installExtension(it.pkgName)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user