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 bb336b0 commit 3325850
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const configFile = require('./config.json')
const servapps = fs.readdirSync('./servapps').filter(file => fs.lstatSync(`./servapps/${file}`).isDirectory())

let servappsJSON = []
int iteration = 1
int iteration = 1;
for (const file of servapps) {
try {
try {
Expand All @@ -17,7 +17,7 @@ for (const file of servapps) {
if (error.message.includes('Cannot find module')) {
console.error(`Description.json not found for ${file}. Setting a Placeholder.`);
const servapp = require(`./servapps/Placeholders/description.json`);
iteration++
iteration++;
} else {
console.error(`Error loading description.json for ${file}:`, error.message);
}
Expand Down

0 comments on commit 3325850

Please sign in to comment.