[skip ci] Fix: Removed extension lower limit

This commit is contained in:
Sadwhy 2024-06-22 10:13:34 +06:00 committed by GitHub
parent a8ccf8d246
commit feb765448b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -91,9 +91,10 @@ internal class ExtensionGithubApi {
// Sanity check - a small number of extensions probably means something broke
// with the repo generator
if (repoExtensions.size < 10) {
throw Exception()
}
//if (repoExtensions.size < 10) {
// throw Exception()
//}
// No official repo now so this won't be needed anymore. User-made repo can have less than 10 extensions
extensions.addAll(repoExtensions)
} catch (e: Throwable) {
@ -180,9 +181,10 @@ internal class ExtensionGithubApi {
// Sanity check - a small number of extensions probably means something broke
// with the repo generator
if (repoExtensions.size < 10) {
throw Exception()
}
//if (repoExtensions.size < 10) {
// throw Exception()
//}
// No official repo now so this won't be needed anymore. User made repo can have less than 10 extensions.
extensions.addAll(repoExtensions)
} catch (e: Throwable) {