Skip to content

Commit

Permalink
Fix template bugs for separating docs/mods/provides
Browse files Browse the repository at this point in the history
Test list size not presence.
  • Loading branch information
rwstauner committed Apr 7, 2015
1 parent cd0b4d6 commit 77ba2e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions root/release.html
Expand Up @@ -42,7 +42,7 @@
provides = [];
modules = [];
FOREACH file IN files;
IF file.documentation && file.module;
IF file.documentation && file.module.size;
modules.push(file);
FOREACH module IN file.module;
IF module.name != file.documentation && module.indexed && module.authorized;
Expand All @@ -52,7 +52,7 @@
status = file.status, package = module.name, path = file.path, release = release.name, author = release.author });
END;
END;
ELSIF file.module;
ELSIF file.module.size;
FOREACH module IN file.module;
provides.push({
authorized = module.authorized,
Expand Down

0 comments on commit 77ba2e6

Please sign in to comment.