From 2783516c862efe2bbfe7c1a04c1cdd98efdb65ce Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Tue, 27 Aug 2024 16:02:50 +0200 Subject: [PATCH] Don't add unknown licenses to the license page. --- templates/licenseElement.ejs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/licenseElement.ejs b/templates/licenseElement.ejs index 0c285aa..20ab07d 100644 --- a/templates/licenseElement.ejs +++ b/templates/licenseElement.ejs @@ -1,3 +1,4 @@ + <% if ( license ) { %>
License: <%= license %>
@@ -8,3 +9,4 @@ Required by <%= name %>.<% } %>
+ <% } %>