Skip to content

Commit d71dddd

Browse files
warp-coreMCOfficer
andauthored
Don't try to create a license URL for all rights reserved plugins (#69)
Co-authored-by: M*C*O <mcofficer@gmx.de>
1 parent 6ec503f commit d71dddd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ <h2 class="header">Plugin List</h2>
101101
return [img];
102102
}
103103
function createLicense(spdx = '') {
104-
if (!spdx) {
105-
return ['All Rights Reserved by author(s)'];
104+
if (!spdx || spdx === 'ALL-RIGHTS-RESERVED') {
105+
return ['All Rights Reserved'];
106106
}
107107
const link = document.createElement('a');
108108
link.href = `https://spdx.org/licenses/${spdx}.html`;

0 commit comments

Comments
 (0)