diff options
-rw-r--r-- | scripts/api/package.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/api/package.js b/scripts/api/package.js index f66f8d4..de7e641 100644 --- a/scripts/api/package.js +++ b/scripts/api/package.js | |||
@@ -155,9 +155,10 @@ For more information about the webview.js file visit https://github.com/getferdi | |||
155 | 155 | ||
156 | // Add recipe to all.json | 156 | // Add recipe to all.json |
157 | console.log('[Info] Adding to all.json'); | 157 | console.log('[Info] Adding to all.json'); |
158 | const isFeatured = packageIndex !== -1 ? all[packageIndex].featured : false; | ||
158 | const packageInfo = { | 159 | const packageInfo = { |
159 | "author": config.author || '', | 160 | "author": config.author || '', |
160 | "featured": false, | 161 | "featured": isFeatured, |
161 | "id": config.id, | 162 | "id": config.id, |
162 | "name": config.name, | 163 | "name": config.name, |
163 | "version": config.version || '1.0.0', | 164 | "version": config.version || '1.0.0', |