Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
kemitchell committed May 22, 2024
1 parent 8b54002 commit 7bd3825
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ https.get('https://spdx.org/licenses/licenses.json', response => {
const deprecated = [];
for (const {licenseId: id, isDeprecatedLicenseId: isDeprecated} of licenses) {
if (isDeprecated) {
if (!id.endsWith('+')) deprecated.push(id);
if (!id.endsWith('+')) {
deprecated.push(id);
}
} else {
index.push(id);
}
Expand Down

0 comments on commit 7bd3825

Please sign in to comment.