Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lilkidsuave authored Feb 13, 2024
1 parent faf8bbb commit 79dc769
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@ for (const file of servapps) {
catch (error) {
if (error.message.includes('Cannot find module')) {
console.error(`Description.json not found for ${file}. Skipping.`);
continue;
} else {
console.error(`Error loading description.json for ${file}: Skipping`, error.message);
continue;
}
}
const servapp = require(`./servapps/${file}/description.json`);
servapp.id = file;
servapp.screenshots = [];
servapp.artefacts = {};
Expand Down

0 comments on commit 79dc769

Please sign in to comment.