Fix detecting addons from zip file

Also set the default to `collectOutput` where it would parse the
output of an addon.
This commit is contained in:
eikek
2022-05-27 22:44:05 +02:00
parent e56e313cb9
commit 4ce64d2841
6 changed files with 55 additions and 4 deletions

View File

@ -72,7 +72,7 @@ final class AddonValidate[F[_]: Async](
).cast
)
_ <- EitherT.cond(
meta.options.exists(_.isUseful),
meta.options.forall(_.isUseful),
(),
InvalidAddon(
"Addon defines no output and no networking. It can't do anything useful."