From 7bd3825235da07506da67f7744cf87146168406f Mon Sep 17 00:00:00 2001 From: "Kyle E. Mitchell" Date: Wed, 22 May 2024 11:12:15 -0700 Subject: [PATCH] Fix lint error --- build.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.js b/build.js index c7dc76b..121f804 100644 --- a/build.js +++ b/build.js @@ -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); }