mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-18 19:53:56 +00:00
[skip ci] Fix: Removed extension lower limit
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user