Skip to content

Commit

Permalink
[skip ci] Fix: Removed extension lower limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Sadwhy authored Jun 22, 2024
1 parent a8ccf8d commit feb7654
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit feb7654

Please sign in to comment.